Corinna Vinschen
656df313e0
* libc/stdio/fclose.c: Only use sfp lock to guard non-atomic
...
changes of flags and fp lock.
* libc/stdio/freopen.c: Ditto.
* libc/stdio/freopen64.c: Ditto.
* libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks
which guard entire function to avoid potential deadlocks when using
stdio functions in multiple thraeds.
* libc/stdio/fgets.c: Ditto.
* libc/stdio/fgetwc.c: Ditto.
* libc/stdio/fgetws.c: Ditto.
* libc/stdio/fread.c: Ditto.
* libc/stdio/fseek.c: Ditto.
* libc/stdio/getc.c: Ditto.
* libc/stdio/getdelim.c: Ditto.
* libc/stdio/gets.c: Ditto.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/vfwscanf.c: Ditto.
* libc/stdio/fflush.c (_fflush_r): Split out core functionality into
new function __sflush_r. Just lock file and call __sflush_r from here.
* libc/stdio/fwalk.c (_fwalk): Remove static helper function and move
functionality back into main function. Don't walk a file with flags
value of 1. Add comment.
(_fwalk_reent): Ditto.
* libc/stdio/local.h (__sflush_r): Declare.
* libc/stdio/refill.c (__srefill): Before calling fwalk, set flags
value to 1 so this file pointer isn't walked. Revert flags afterwards
and call __sflush_r for this fp if necessary. Add comments.
2011-01-28 10:49:11 +00:00
..
2008-04-30 02:47:14 +00:00
2008-12-11 17:27:56 +00:00
2008-11-24 22:08:02 +00:00
2008-04-14 21:14:55 +00:00
2006-09-26 21:22:19 +00:00
2008-10-31 21:08:03 +00:00
2008-10-31 21:08:03 +00:00
2011-01-28 10:49:11 +00:00
2004-04-23 20:01:55 +00:00
2007-07-31 20:49:40 +00:00
2006-09-26 21:22:19 +00:00
2006-09-26 21:22:19 +00:00
2011-01-28 10:49:11 +00:00
2011-01-28 10:49:11 +00:00
2005-02-08 01:33:19 +00:00
2011-01-28 10:49:11 +00:00
2011-01-28 10:49:11 +00:00
2011-01-28 10:49:11 +00:00
2006-09-26 21:22:19 +00:00
2008-12-10 23:43:12 +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
2007-08-02 20:23:06 +00:00
2004-06-11 20:37:10 +00:00
2008-10-31 21:08:03 +00:00
2007-05-04 02:55:16 +00:00
2009-07-03 11:58:04 +00:00
2006-09-26 21:22:19 +00:00
2008-12-10 23:43:12 +00:00
2009-02-16 15:04:34 +00:00
2008-12-12 17:21:08 +00:00
2011-01-28 10:49:11 +00:00
2011-01-28 10:49:11 +00:00
2004-04-23 20:01:55 +00:00
2011-01-28 10:49:11 +00:00
2004-04-23 20:01:55 +00:00
2008-10-31 21:08:03 +00:00
2008-03-04 02:22:36 +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
2011-01-28 10:49:11 +00:00
2009-01-05 19:08:03 +00:00
2009-03-06 09:55:52 +00:00
2008-12-10 23:43:12 +00:00
2009-03-11 11:53:22 +00:00
2008-10-31 21:08:03 +00:00
2011-01-28 10:49:11 +00:00
2008-10-31 21:08:03 +00:00
2006-06-14 20:49:11 +00:00
2011-01-28 10:49:11 +00:00
2004-04-23 20:01:55 +00:00
2011-01-28 10:49:11 +00:00
2005-10-28 21:21:08 +00:00
2008-12-10 23:43:12 +00:00
2008-12-12 17:21:08 +00:00
2007-05-04 02:55:16 +00:00
2005-02-08 01:33:19 +00:00
2011-01-28 10:49:11 +00:00
2008-01-03 22:33:37 +00:00
2009-07-03 11:58:04 +00:00
2010-12-16 21:59:17 +00:00
2010-07-19 18:21:11 +00:00
2011-01-05 17:38:42 +00:00
2005-02-08 01:33:19 +00:00
2007-05-04 02:55:16 +00:00
2008-10-31 21:08:03 +00:00
2006-09-26 21:22:19 +00:00
2008-10-31 21:08:03 +00:00
2006-06-14 20:49:11 +00:00
2008-12-10 23:43:12 +00:00
2005-10-28 21:21:08 +00:00
2008-12-10 23:43:12 +00:00
2008-12-12 17:21:08 +00:00
2011-01-28 10:49:11 +00:00
2008-10-31 21:08:03 +00:00
2007-09-18 19:32:43 +00:00
2007-05-25 17:05:09 +00:00
2008-03-11 19:13:30 +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
2008-10-31 21:08:03 +00:00
2009-03-11 11:53:22 +00:00
2008-04-14 21:14:55 +00:00
2008-04-14 21:14:55 +00:00
2009-03-12 10:27:10 +00:00
2009-03-11 11:53:22 +00:00
2009-03-11 11:53:22 +00:00
2009-07-03 11:58:04 +00:00
2009-03-12 10:27:10 +00:00
2009-03-12 14:30:28 +00:00
2007-05-17 12:10:29 +00:00
2004-04-23 20:01:55 +00:00
2008-12-10 23:43:12 +00:00
2008-12-10 23:43:12 +00:00
2008-04-14 21:14:55 +00:00
2008-12-11 17:27:56 +00:00
2008-11-24 21:27:33 +00:00
2008-04-14 21:14:55 +00:00
2008-03-07 16:45:04 +00:00
2008-03-07 16:45:04 +00:00
2007-08-31 21:21:27 +00:00
2010-02-15 16:10:28 +00:00
2011-01-28 10:49:11 +00:00
2010-04-28 09:59:37 +00:00
2011-01-28 10:49:11 +00:00
2008-10-31 21:08:03 +00:00
2008-10-31 21:08:03 +00:00
2005-02-08 01:33:19 +00:00
2005-02-08 01:33:19 +00:00
2008-04-14 21:14:55 +00:00
2009-03-11 11:53:22 +00:00
2008-04-14 21:14:55 +00:00
2008-04-30 02:47:14 +00:00
2008-04-14 21:14:55 +00:00
2009-03-11 11:53:22 +00:00
2009-03-12 10:27:10 +00:00
2009-03-11 11:53:22 +00:00
2009-03-06 09:55:52 +00:00
2009-03-11 11:53:22 +00:00
2008-12-10 23:43:12 +00:00
2009-03-06 09:55:52 +00:00
2009-03-11 11:53:22 +00:00
2007-03-15 18:40:48 +00:00