From 6999d70e2fdee6297545aa593cfcd8bf2d35afd3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 14 Jun 2001 00:45:57 +0000 Subject: 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 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning. 2001-06-09 Ben Collins * 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 --- libio/iolibio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libio') 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*)); -- cgit v1.2.3