]> sourceware.org Git - newlib-cygwin.git/commit - newlib/ChangeLog
Fix fflush issues.
authorEric Blake <eblake@redhat.com>
Fri, 13 Jul 2007 20:37:53 +0000 (20:37 +0000)
committerEric Blake <eblake@redhat.com>
Fri, 13 Jul 2007 20:37:53 +0000 (20:37 +0000)
commit08146e5adbceb673cc2c6c4adee05ba37f709095
tree2bda91075f62fa6b54750cca0346838ebf1a9f28
parentb71fb40215c79d607d8f24dc6af0c28d5ce9ccaf
Fix fflush issues.
* libc/stdio/fflush.c (_fflush_r): New function.
(fflush): Fix reentrancy and large offset behavior.
* libc/include/stdio.h (_fflush_r): Add prototype.
* libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/fseek.c (_fseek_r): Likewise.
* libc/stdio/ftell.c (_ftell_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/setvbuf.c (setvbuf): Likewise.
* libc/stdio/ungetc.c (_ungetc_r): Likewise.
* libc/stdio/vfprintf.c (__sbprintf): Likewise.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
32-bit version if not large file.
* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
* libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
17 files changed:
newlib/ChangeLog
newlib/libc/include/stdio.h
newlib/libc/stdio/fclose.c
newlib/libc/stdio/fflush.c
newlib/libc/stdio/freopen.c
newlib/libc/stdio/fseek.c
newlib/libc/stdio/ftell.c
newlib/libc/stdio/fvwrite.c
newlib/libc/stdio/refill.c
newlib/libc/stdio/setvbuf.c
newlib/libc/stdio/ungetc.c
newlib/libc/stdio/vfprintf.c
newlib/libc/stdio/wbuf.c
newlib/libc/stdio64/freopen64.c
newlib/libc/stdio64/fseeko64.c
newlib/libc/stdio64/ftello64.c
newlib/libc/stdio64/tmpfile64.c
This page took 0.032467 seconds and 5 git commands to generate.