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
..
2007-05-04 02:55:16 +00:00
2007-05-09 19:27:30 +00:00
2007-05-09 19:27:30 +00:00
2007-05-04 02:55:16 +00:00
2006-09-26 21:22:19 +00:00
2007-05-04 02:55:16 +00:00
2007-05-04 02:55:16 +00:00
2007-07-13 20:37:53 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2006-09-26 21:22:19 +00:00
2006-09-26 21:22:19 +00:00
2007-07-13 20:37:53 +00:00
2006-09-26 21:22:19 +00:00
2005-02-08 01:33:19 +00:00
2006-09-26 21:22:19 +00:00
2006-09-26 21:22:19 +00:00
2007-05-01 23:03:36 +00:00
2007-05-04 02:55:16 +00:00
2004-11-24 00:45:41 +00:00
2007-06-04 18:10:17 +00:00
2000-12-06 23:50:11 +00:00
2004-06-11 20:37:10 +00:00
2007-06-04 18:10:17 +00:00
2007-05-04 02:55:16 +00:00
2006-09-26 21:22:19 +00:00
2006-09-26 21:22:19 +00:00
2007-03-15 18:40:48 +00:00
2007-07-13 20:37:53 +00:00
2004-04-23 20:01:55 +00:00
2007-07-13 20:37:53 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2007-07-13 20:37:53 +00:00
2004-04-23 20:01:55 +00:00
2007-06-04 18:10:17 +00:00
2007-07-13 20:37:53 +00:00
2007-03-15 18:40:48 +00:00
2004-09-16 21:26:51 +00:00
2006-09-26 21:22:19 +00:00
2006-06-14 20:49:11 +00:00
2006-09-26 21:22:19 +00:00
2006-06-14 20:49:11 +00:00
2006-06-14 20:49:11 +00:00
2006-09-26 21:22:19 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2005-10-28 21:21:08 +00:00
2007-05-04 02:55:16 +00:00
2005-02-08 01:33:19 +00:00
2007-06-04 18:10:17 +00:00
2007-05-01 23:03:36 +00:00
2007-07-13 17:07:28 +00:00
2007-07-13 17:07:28 +00:00
2007-05-01 23:03:36 +00:00
2005-02-08 01:33:19 +00:00
2007-05-04 02:55:16 +00:00
2006-06-14 20:49:11 +00:00
2006-09-26 21:22:19 +00:00
2004-04-23 20:01:55 +00:00
2006-06-14 20:49:11 +00:00
2006-06-14 20:49:11 +00:00
2005-10-28 21:21:08 +00:00
2007-07-13 20:37:53 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2007-05-25 17:05:09 +00:00
2006-06-15 16:08:09 +00:00
2005-02-08 01:33:19 +00:00
2004-11-24 00:45:41 +00:00
2004-04-23 20:01:55 +00:00
2004-09-16 21:15:14 +00:00
2004-04-23 20:01:55 +00:00
2007-07-13 20:37:53 +00:00
2007-05-04 02:55:16 +00:00
2007-06-04 18:10:17 +00:00
2007-05-04 02:55:16 +00:00
2007-03-15 18:40:48 +00:00
2007-05-04 02:55:16 +00:00
2007-06-04 18:10:17 +00:00
2007-06-04 18:10:17 +00:00
2007-07-13 17:07:28 +00:00
2007-05-17 12:10:29 +00:00
2004-04-23 20:01:55 +00:00
2007-07-13 20:37:53 +00:00
2007-04-04 18:32:49 +00:00
2007-05-09 19:27:30 +00:00
2007-05-09 19:27:30 +00:00
2007-04-04 18:32:49 +00:00
2007-05-04 02:55:16 +00:00
2007-05-04 02:55:16 +00:00
2004-05-26 00:19:14 +00:00
2007-07-13 20:37:53 +00:00
2007-05-24 04:25:18 +00:00
2007-05-04 02:55:16 +00:00
2005-10-28 21:38:59 +00:00
2005-02-08 01:33:19 +00:00
2005-02-08 01:33:19 +00:00
2007-05-04 02:55:16 +00:00
2007-06-04 18:10:17 +00:00
2007-05-04 02:55:16 +00:00
2007-04-04 18:32:49 +00:00
2007-04-04 18:32:49 +00:00
2007-06-04 18:10:17 +00:00
2007-07-13 20:37:53 +00:00
2007-03-15 18:40:48 +00:00