]> code.delx.au - gnu-emacs/commitdiff
(init_baud_rate) [USE_GETOBAUD]: Use getobaud.
authorRichard M. Stallman <rms@gnu.org>
Sat, 3 Sep 1994 04:34:17 +0000 (04:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 3 Sep 1994 04:34:17 +0000 (04:34 +0000)
src/sysdep.c

index dc5b7ee233f153b658a583983df81a9a69fb19f6..23920d88b6467c6f646f4e6ecc009a3ee3082992 100644 (file)
@@ -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;