diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-07-25 01:30:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-07-25 01:30:57 +0000 |
commit | 78ce5a3bbb6ce2ef0c43f5bd575708ff2c7715b9 (patch) | |
tree | 7d2ef4ff321a1ddd37f9a9a40399a60b5101bb94 /libio/tst-freopen.c | |
parent | 66bff4092be47f02a6189f092b9dd1d8c6de2626 (diff) | |
download | glibc-78ce5a3bbb6ce2ef0c43f5bd575708ff2c7715b9.zip glibc-78ce5a3bbb6ce2ef0c43f5bd575708ff2c7715b9.tar.gz glibc-78ce5a3bbb6ce2ef0c43f5bd575708ff2c7715b9.tar.bz2 |
Update.
2002-07-24 Ulrich Drepper <drepper@redhat.com>
* 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 <jakub@redhat.com>
* config.h.in: Use __ASSEMBLER__ test macro not ASSEMBLER.
* sysdeps/ia64/fpu/libm_support.h: Likewise.
Diffstat (limited to 'libio/tst-freopen.c')
-rw-r--r-- | libio/tst-freopen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/tst-freopen.c b/libio/tst-freopen.c index 20e5f2f..8228951 100644 --- a/libio/tst-freopen.c +++ b/libio/tst-freopen.c @@ -23,10 +23,10 @@ #include <string.h> #include <unistd.h> -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); |