Mercurial > emacs
diff src/sysdep.c @ 8690:83a8062ca215
(init_baud_rate) [USE_GETOBAUD]: Use getobaud.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 03 Sep 1994 04:34:17 +0000 |
| parents | 0c30bec316c6 |
| children | 10ec51f5e4b0 |
line wrap: on
line diff
--- a/src/sysdep.c Sat Sep 03 03:34:55 1994 +0000 +++ b/src/sysdep.c Sat Sep 03 04:34:17 1994 +0000 @@ -279,6 +279,11 @@ 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;
