diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-14 21:48:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-14 21:48:11 +0000 |
commit | af6c1b27acf52a85311802ba8068cc74d9a327ba (patch) | |
tree | 99ef6e6de224697bcc80e41fcd72d1e864affcf5 /sysdeps/unix/sysv/linux/tcsetattr.c | |
parent | 6269e521192ef37e1b13183baf44a05e16695e6d (diff) | |
download | glibc-af6c1b27acf52a85311802ba8068cc74d9a327ba.tar.gz glibc-af6c1b27acf52a85311802ba8068cc74d9a327ba.tar.xz glibc-af6c1b27acf52a85311802ba8068cc74d9a327ba.zip |
Update.
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/tcsetattr.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/tcsetattr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/tcsetattr.c b/sysdeps/unix/sysv/linux/tcsetattr.c index 4a352372c9..b919dbe1c4 100644 --- a/sysdeps/unix/sysv/linux/tcsetattr.c +++ b/sysdeps/unix/sysv/linux/tcsetattr.c @@ -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; |