acadia-newlib/newlib/libc/stdio
Jeff Johnston 7890be6e7d 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
* libc/stdio/vfwprintf.c (wcvt): Add a new parameter len of type
        int.  *length is set to the value of (rev - digits) regardless
        of whether _MB_CAPABLE is defined or not.  Replace BUF with len
        in calling _mbsnrtowcs_r and also in the loop where _MB_CAPABLE
        is not defined.
        (_VFWPRINTF_R): Call wcvt with an extra argument.  Call wcvt
        again with allocated new buffer if buf is not large enough for
        the conversion.
        * testsuite/newlib.stdio/stdio.exp: New.
        * testsuite/newlib.stdio/swprintf.c: Likewise.
2011-07-15 17:20:16 +00:00
..
Makefile.am Add fpurge. 2009-07-03 11:58:04 +00:00
Makefile.in 2010-12-16 Jeff Johnston <jjohnstn@redhat.com> 2010-12-16 21:59:17 +00:00
asiprintf.c
asniprintf.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
asnprintf.c
asprintf.c
clearerr.c
diprintf.c
dprintf.c
fclose.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fcloseall.c
fdopen.c
feof.c
ferror.c
fflush.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fgetc.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fgetpos.c
fgets.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fgetwc.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fgetws.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fileno.c
findfp.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
fiprintf.c
fiscanf.c
flags.c
floatio.h
fmemopen.c * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV 2011-02-22 15:38:14 +00:00
fopen.c
fopencookie.c
fprintf.c
fpurge.c * libc/include/stdio_ext.h: New header. 2011-05-19 07:21:42 +00:00
fputc.c
fputs.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
fputwc.c * libc/stdio/fputwc.c: Fix typo in man page info. 2009-02-16 15:04:34 +00:00
fputws.c 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org> 2008-12-12 17:21:08 +00:00
fread.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
freopen.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fscanf.c * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r 2011-07-15 08:04:17 +00:00
fseek.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fseeko.c
fsetpos.c
ftell.c
ftello.c
funopen.c
fvwrite.c printf: set errno for read-only stream 2011-06-14 03:56:05 +00:00
fvwrite.h
fwalk.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
fwide.c 2009-01-05 Craig Howland <howland@LGSInnovations.com> 2009-01-05 19:08:03 +00:00
fwprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
fwrite.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
fwscanf.c * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r 2011-07-15 08:04:17 +00:00
getc.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
getc_u.c
getchar.c
getchar_u.c
getdelim.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
getline.c
gets.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
getw.c
getwc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
getwchar.c 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org> 2008-12-12 17:21:08 +00:00
iprintf.c
iscanf.c
local.h printf: set errno for read-only stream 2011-06-14 03:56:05 +00:00
makebuf.c
mktemp.c Add mkostemp and mkostemps. 2010-07-19 18:21:11 +00:00
open_memstream.c 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> 2011-01-05 17:38:42 +00:00
perror.c strerror: allow user hook to comply with POSIX rules 2011-05-25 18:41:10 +00:00
printf.c
putc.c
putc_u.c
putchar.c
putchar_u.c
puts.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
putw.c
putwc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
putwchar.c 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org> 2008-12-12 17:21:08 +00:00
refill.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
remove.c
rename.c
rewind.c
rget.c
scanf.c * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r 2011-07-15 08:04:17 +00:00
sccl.c
setbuf.c
setbuffer.c
setlinebuf.c
setvbuf.c
siprintf.c
siscanf.c * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf, 2009-03-11 11:53:22 +00:00
sniprintf.c
snprintf.c
sprintf.c * libc/stdio/swprintf.c (_swprintf_r, swprintf): 2009-03-12 10:27:10 +00:00
sscanf.c * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf, 2009-03-11 11:53:22 +00:00
stdio.c * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf, 2009-03-11 11:53:22 +00:00
stdio.tex Add fpurge. 2009-07-03 11:58:04 +00:00
swprintf.c * libc/stdio/swprintf.c (_swprintf_r, swprintf): 2009-03-12 10:27:10 +00:00
swscanf.c * libc/stdio/swscanf.c: Some documentation corrections. 2009-03-12 14:30:28 +00:00
tmpfile.c
tmpnam.c
ungetc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
ungetwc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
vasiprintf.c
vasniprintf.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
vasnprintf.c
vasprintf.c
vdiprintf.c
vdprintf.c
vfieeefp.h
vfprintf.c * libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant 2010-02-15 16:10:28 +00:00
vfscanf.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
vfwprintf.c 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com> 2011-07-15 17:20:16 +00:00
vfwscanf.c * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic 2011-01-28 10:49:11 +00:00
viprintf.c
viscanf.c
vprintf.c
vscanf.c
vsiprintf.c
vsiscanf.c * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf, 2009-03-11 11:53:22 +00:00
vsniprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
vsnprintf.c
vsprintf.c
vsscanf.c * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf, 2009-03-11 11:53:22 +00:00
vswprintf.c * libc/stdio/swprintf.c (_swprintf_r, swprintf): 2009-03-12 10:27:10 +00:00
vswscanf.c * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf, 2009-03-11 11:53:22 +00:00
vwprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
vwscanf.c * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf, 2009-03-11 11:53:22 +00:00
wbuf.c printf: set errno for read-only stream 2011-06-14 03:56:05 +00:00
wprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
wscanf.c * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r 2011-07-15 08:04:17 +00:00
wsetup.c printf: set errno for read-only stream 2011-06-14 03:56:05 +00:00