diff src/sysdep.c @ 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 035f80625c5e
children af88471e6799
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