]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 14 Dec 1998 21:48:11 +0000 (21:48 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 14 Dec 1998 21:48:11 +0000 (21:48 +0000)
1998-12-08  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
the IBAUD0 bit in c_iflag.

* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
the IBAUD0 bit in c_iflag.

ChangeLog
sysdeps/unix/sysv/linux/speed.c
sysdeps/unix/sysv/linux/tcsetattr.c

index c954b7234c62809fe2b19ede1d56d84e497d6dd3..0ccb10a65b35eeeca91b8c54eebcb5036a1f6115 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+1998-12-08  H.J. Lu  <hjl@gnu.org> 
+       * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear 
+       the IBAUD0 bit in c_iflag. 
+       * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the 
+       the IBAUD0 bit in c_iflag. 
 1998-12-14  Ulrich Drepper  <drepper@cygnus.com>
 
        * time/Makefile (tests): Add tst-strptime.
index 5a23e53fc5709fa5b47df87855a5be8870d3356c..1244eb4c01f8c07f0e38f47a328a9ebd5c68c9cd 100644 (file)
@@ -66,7 +66,6 @@ cfsetospeed  (termios_p, speed)
       return -1;
     }
 
-  termios_p->c_iflag &= ~IBAUD0;
   termios_p->c_cflag &= ~(CBAUD | CBAUDEX);
   termios_p->c_cflag |= speed;
 
index 4a352372c9678a843f243293d8aa36e75a1110db..b919dbe1c4cbeba0b729f867610e86c28f097cfb 100644 (file)
@@ -73,7 +73,9 @@ tcsetattr (fd, optional_actions, termios_p)
       return -1;
     }
 
-  k_termios.c_iflag = termios_p->c_iflag & ~IBAUD0;
+  termios_p->c_iflag &= ~IBAUD0;
+
+  k_termios.c_iflag = termios_p->c_iflag;
   k_termios.c_oflag = termios_p->c_oflag;
   k_termios.c_cflag = termios_p->c_cflag;
   k_termios.c_lflag = termios_p->c_lflag;