newlib-cygwin/newlib/libc/stdio
Jeff Johnston 14ba5e14d9 2007-03-15 Eric Blake <ebb9@byu.net>
* libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
	(__smakebuf): Rename...
	(__smakebuf_r): to this.
	* libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
	* libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
	allocation, then rename...
	(__smakebuf_r): ...to this and fix reentrancy.
	* libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
	allocation, then rename...
	(__swsetup_r): ...to this and fix reentrancy.
	* libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
	* libc/stdio/refill.c (__srefill_r): Likewise.
	* libc/stdio/fclose.c (_fclose_r): Likewise.
	* libc/stdio/fread.c (_fread_r): Likewise.
	* libc/stdio/freopen.c (_freopen_r): Likewise.
	* libc/stdio/wbuf.c (__swbuf_r): Likewise.
	* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
	* libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
	failed asprintf allocation, and fix reentrancy.
	* libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
	as required by POSIX.
	* libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
	* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
	* libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
2007-03-15 18:40:48 +00:00
..
Makefile.am 2006-05-01 Jeff Johnston <jjohnstn@redhat.com> 2006-05-01 22:01:07 +00:00
Makefile.in 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-01-31 19:34:38 +00:00
asiprintf.c 2007-03-12 Eric Blake <ebb9@byu.net> 2007-03-12 20:30:08 +00:00
asprintf.c 2007-03-12 Eric Blake <ebb9@byu.net> 2007-03-12 20:30:08 +00:00
clearerr.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
dprintf.c 2005-10-11 Shaun Jackman <sjackman@gmail.com> 2005-10-11 23:59:32 +00:00
fclose.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
fcloseall.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
fdopen.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
feof.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
ferror.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fflush.c 2006-12-14 Jeff Johnston <jjohnstn@redhat.com> 2006-12-14 22:47:12 +00:00
fgetc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fgetpos.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
fgets.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fileno.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
findfp.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fiprintf.c 2004-11-23 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 00:45:41 +00:00
fiscanf.c 2004-11-23 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 00:45:41 +00:00
flags.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
floatio.h 2000-12-06 Jeff Johnston <jjohnstn@redhat.com> 2000-12-06 23:50:11 +00:00
fopen.c 2004-06-11 Antony King <antony.king@st.com> 2004-06-11 20:37:10 +00:00
fprintf.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
fputc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fputs.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fread.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
freopen.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
fscanf.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
fseek.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
fseeko.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
fsetpos.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
ftell.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
ftello.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
fvwrite.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
fvwrite.h 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
fwalk.c 2004-09-16 Antony King <antony.king@st.com> 2004-09-16 21:26:51 +00:00
fwrite.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
getc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
getc_u.c 2006-06-14 Jeff Johnston <jjohnstn@redhat.com> 2006-06-14 20:49:11 +00:00
getchar.c 2006-06-14 Jeff Johnston <jjohnstn@redhat.com> 2006-06-14 20:49:11 +00:00
getchar_u.c 2006-06-14 Jeff Johnston <jjohnstn@redhat.com> 2006-06-14 20:49:11 +00:00
getdelim.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
getline.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
gets.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
getw.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
iprintf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
iscanf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
local.h 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
makebuf.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
mktemp.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
perror.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
printf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
putc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
putc_u.c 2006-06-14 Jeff Johnston <jjohnstn@redhat.com> 2006-06-14 20:49:11 +00:00
putchar.c 2006-06-14 Jeff Johnston <jjohnstn@redhat.com> 2006-06-14 20:49:11 +00:00
putchar_u.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
puts.c 2006-06-14 Jeff Johnston <jjohnstn@redhat.com> 2006-06-14 20:49:11 +00:00
putw.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
refill.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
remove.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
rename.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
rewind.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
rget.c 2006-06-15 Corinna Vinschen <corinna@vinschen.de> 2006-06-15 16:08:09 +00:00
scanf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
sccl.c 2004-11-23 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 00:45:41 +00:00
setbuf.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
setbuffer.c 2004-09-16 Antony King <antony.king@st.com> 2004-09-16 21:15:14 +00:00
setlinebuf.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
setvbuf.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
siprintf.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:38:59 +00:00
siscanf.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:38:59 +00:00
sniprintf.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
snprintf.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
sprintf.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:38:59 +00:00
sscanf.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:38:59 +00:00
stdio.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
stdio.tex 2005-10-11 Shaun Jackman <sjackman@gmail.com> 2005-10-11 23:59:32 +00:00
tmpfile.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
tmpnam.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
ungetc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
vasiprintf.c 2007-03-12 Eric Blake <ebb9@byu.net> 2007-03-12 20:30:08 +00:00
vasprintf.c 2007-03-12 Eric Blake <ebb9@byu.net> 2007-03-12 20:30:08 +00:00
vdprintf.c 2005-10-11 Shaun Jackman <sjackman@gmail.com> 2005-10-11 23:59:32 +00:00
vfieeefp.h 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-05-26 00:19:14 +00:00
vfprintf.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
vfscanf.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
viprintf.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:38:59 +00:00
viscanf.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:38:59 +00:00
vprintf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
vscanf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
vsiprintf.c 2004-11-23 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 00:45:41 +00:00
vsiscanf.c 2004-11-23 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 00:45:41 +00:00
vsniprintf.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
vsnprintf.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
vsprintf.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
vsscanf.c 2004-09-16 Antony King <antony.king@st.com> 2004-09-16 21:30:51 +00:00
wbuf.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
wsetup.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00