Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ulrich Drepper committed Dec 14, 1998
1 parent 6269e52 commit af6c1b2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 0 additions & 1 deletion sysdeps/unix/sysv/linux/speed.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 3 additions & 1 deletion sysdeps/unix/sysv/linux/tcsetattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit af6c1b2

Please sign in to comment.