libc/newlib/libc/stdio64
Eric Blake 08146e5adb 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.
2007-07-13 20:37:53 +00:00
..
Makefile.am 2006-05-01 Jeff Johnston <jjohnstn@redhat.com> 2006-05-01 22:01:07 +00:00
Makefile.in * ltmain.sh: Update from GCC. 2007-05-24 17:33:42 +00:00
dummy.c 2002-08-26 Jeff Johnston <jjohnstn@redhat.com> 2002-08-26 18:56:09 +00:00
fdopen64.c * libc/stdio64/local64.h: Delete, move contents to... 2007-05-01 23:03:36 +00:00
fgetpos64.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
fopen64.c * libc/stdio64/local64.h: Delete, move contents to... 2007-05-01 23:03:36 +00:00
freopen64.c Fix fflush issues. 2007-07-13 20:37:53 +00:00
fseeko64.c Fix fflush issues. 2007-07-13 20:37:53 +00:00
fsetpos64.c 2003-08-22 Jeff Johnston <jjohnstn@redhat.com> 2003-08-22 18:52:25 +00:00
ftello64.c Fix fflush issues. 2007-07-13 20:37:53 +00:00
stdio64.c Implement funopen, fopencookie. 2007-06-04 18:10:17 +00:00
stdio64.tex 2002-07-17 Jeff Johnston <jjohnstn@redhat.com> 2002-07-17 23:25:44 +00:00
tmpfile64.c Fix fflush issues. 2007-07-13 20:37:53 +00:00