1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00
* libio/iolibio.h (_IO_freopen): Correct last parameter to
	_IO_file_open.
	(_IO_freopen64): Likewise.
	Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].

	* elf/elf.h: Add a few more EM_* constants.

2001-06-12  Bruno Haible  <haible@clisp.cons.org>

	* intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.

2001-06-09  Ben Collins  <bcollins@debian.org>

	* sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
	hardcoded B400000.

2001-06-13  Ulrich Drepper  <drepper@redhat.com>
This commit is contained in:
Ulrich Drepper
2001-06-14 00:45:57 +00:00
parent d002205fd2
commit 6999d70e2f
10 changed files with 38 additions and 5 deletions

View File

@ -60,7 +60,7 @@ cfsetospeed (termios_p, speed)
speed_t speed;
{
if ((speed & ~CBAUD) != 0
&& (speed < B57600 || speed > B4000000))
&& (speed < B57600 || speed > __MAX_BAUD))
{
__set_errno (EINVAL);
return -1;
@ -82,7 +82,7 @@ cfsetispeed (termios_p, speed)
speed_t speed;
{
if ((speed & ~CBAUD) != 0
&& (speed < B57600 || speed > B4000000))
&& (speed < B57600 || speed > __MAX_BAUD))
{
__set_errno (EINVAL);
return -1;