From 78ce5a3bbb6ce2ef0c43f5bd575708ff2c7715b9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 25 Jul 2002 01:30:57 +0000 Subject: Update. 2002-07-24 Ulrich Drepper * libio/fileops.c (_IO_file_seekoff_mmap): Do use fp->_offset to compute current position. * stdio-common/tst-fseek.c (main): Improve error messages. * libio/tst-freopen.c (main): Remove unused variable. * libio/fileops.c (_IO_file_seekoff_mmap): Set fp->_offset after succesful seek call. Simply error checking. 2002-07-25 Jakub Jelinek * config.h.in: Use __ASSEMBLER__ test macro not ASSEMBLER. * sysdeps/ia64/fpu/libm_support.h: Likewise. --- libio/tst-freopen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libio/tst-freopen.c') diff --git a/libio/tst-freopen.c b/libio/tst-freopen.c index 20e5f2f874..8228951071 100644 --- a/libio/tst-freopen.c +++ b/libio/tst-freopen.c @@ -23,10 +23,10 @@ #include #include -int main (void) +int +main (void) { char name[] = "/tmp/tst-freopen.XXXXXX"; - char buf[4096]; const char * const test = "Let's test freopen.\n"; char temp[strlen (test) + 1]; int fd = mkstemp (name); -- cgit 1.4.1