From: Richard M. Stallman Date: Sat, 3 Sep 1994 04:34:17 +0000 (+0000) Subject: (init_baud_rate) [USE_GETOBAUD]: Use getobaud. X-Git-Tag: emacs-19.34~7164 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f43149bd6838f98b38b39b18aa581283d2d79e5;p=emacs.git (init_baud_rate) [USE_GETOBAUD]: Use getobaud. --- diff --git a/src/sysdep.c b/src/sysdep.c index dc5b7ee233f..23920d88b64 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -279,6 +279,11 @@ init_baud_rate () sg.c_cflag = B9600; tcgetattr (input_fd, &sg); ospeed = cfgetospeed (&sg); +#ifdef USE_GETOBAUD + /* m88k-motorola-sysv3 needs this (ghazi@noc.rutgers.edu) 9/1/94. */ + if (ospeed == 0) + ospeed = getobaud (sg.c_cflag); +#endif #else /* neither VMS nor TERMIOS */ #ifdef HAVE_TERMIO struct termio sg;