1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
Ulrich Drepper
1998-12-14 21:48:11 +00:00
parent 6269e52119
commit af6c1b27ac
3 changed files with 11 additions and 2 deletions

View 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;