newlib-cygwin/newlib/libc/stdio64
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
..
Makefile.am 2006-05-01 Jeff Johnston <jjohnstn@redhat.com> 2006-05-01 22:01:07 +00:00
Makefile.in 2010-12-16 Jeff Johnston <jjohnstn@redhat.com> 2010-12-16 21:59:17 +00:00
dummy.c 2002-08-26 Jeff Johnston <jjohnstn@redhat.com> 2002-08-26 18:56:09 +00:00
fdopen64.c More POSIX stream corner cases. 2007-07-31 20:49:40 +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 * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fseeko64.c 2009-12-17 Jerker Back <jerker.back@gmail.com> 2009-12-17 19:43:43 +00:00
fsetpos64.c 2003-08-22 Jeff Johnston <jjohnstn@redhat.com> 2003-08-22 18:52:25 +00:00
ftello64.c Fix ftell bug after ungetc. 2008-03-04 02:22:36 +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