diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-06-14 00:45:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-06-14 00:45:57 +0000 |
commit | 6999d70e2fdee6297545aa593cfcd8bf2d35afd3 (patch) | |
tree | 6d0ae4f853c27a6de4721bcdf9674c60bae43420 /libio/iolibio.h | |
parent | d002205fd2688a6be32bed2e61ffa3192a0105be (diff) | |
download | glibc-6999d70e2fdee6297545aa593cfcd8bf2d35afd3.tar.gz |
Update.
* 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>
Diffstat (limited to 'libio/iolibio.h')
-rw-r--r-- | libio/iolibio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iolibio.h b/libio/iolibio.h index 92f25cf9f9..5417de0603 100644 --- a/libio/iolibio.h +++ b/libio/iolibio.h @@ -57,11 +57,11 @@ extern int _IO_obstack_printf __P ((struct obstack *, const char *, ...)); #define _IO_rewind(FILE) (void)_IO_seekoff(FILE, 0, 0, _IOS_INPUT|_IOS_OUTPUT) #define _IO_vprintf(FORMAT, ARGS) _IO_vfprintf(_IO_stdout, FORMAT, ARGS) #define _IO_freopen(FILENAME, MODE, FP) \ - (_IO_file_close_it(FP), _IO_file_fopen(FP, FILENAME, MODE, 0)) + (_IO_file_close_it(FP), _IO_file_fopen(FP, FILENAME, MODE, 1)) #define _IO_old_freopen(FILENAME, MODE, FP) \ (_IO_old_file_close_it (FP), _IO_old_file_fopen(FP, FILENAME, MODE)) #define _IO_freopen64(FILENAME, MODE, FP) \ - (_IO_file_close_it(FP), _IO_file_fopen(FP, FILENAME, MODE, 1)) + (_IO_file_close_it(FP), _IO_file_fopen(FP, FILENAME, MODE, 0)) #define _IO_fileno(FP) ((FP)->_fileno) extern _IO_FILE* _IO_popen __P((const char*, const char*)); extern _IO_FILE* _IO_new_popen __P((const char*, const char*)); |