Mercurial > emacs
changeset 5167:6ac5c999a7cc
(init_baud_rate): Avoid referring to sg uninitialized.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 25 Nov 1993 05:41:47 +0000 |
parents | 7e66b092f331 |
children | b30763a185e9 |
files | src/sysdep.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sysdep.c Thu Nov 25 04:14:10 1993 +0000 +++ b/src/sysdep.c Thu Nov 25 05:41:47 1993 +0000 @@ -235,7 +235,7 @@ #ifdef TIOCSTI ioctl (input_fd, TIOCSTI, &c); #else /* no TIOCSTI */ - error ("Cannot stuff terminal input characters in this version of Unix."); + error ("Cannot stuff terminal input characters in this version of Unix"); #endif /* no TIOCSTI */ } @@ -257,14 +257,14 @@ #ifdef HAVE_TERMIOS struct termios sg; - sg.c_cflag = (sg.c_cflag & ~CBAUD) | B9600; + sg.c_cflag = B9600; tcgetattr (input_fd, &sg); ospeed = cfgetospeed (&sg); #else /* neither VMS nor TERMIOS */ #ifdef HAVE_TERMIO struct termio sg; - sg.c_cflag = (sg.c_cflag & ~CBAUD) | B9600; + sg.c_cflag = B9600; #ifdef HAVE_TCATTR tcgetattr (input_fd, &sg); #else