OSDN Git Service

* libc/stdio/swprintf.c (_swprintf_r, swprintf):
authorcorinna <corinna>
Thu, 12 Mar 2009 10:27:10 +0000 (10:27 +0000)
committercorinna <corinna>
Thu, 12 Mar 2009 10:27:10 +0000 (10:27 +0000)
commit79281c3f8b98ca937633ffc0499c25a1160fdde5
treeb54318cb10ed92c7410cc27cf808d416ad8b26dc
parentd961cb82bb9b0949f79a7e731f431eac8ead161d
* libc/stdio/swprintf.c (_swprintf_r, swprintf):
correct how terminating L'\0' is added;
change return to match standard for when output does not fit;
some corrections and enhancements to the docs.
* libc/stdio/vswprintf.c (_vswprintf_r):  ditto, except for docs.
* libc/stdio/vfwprintf.c:  some corrections to the docs and some
enhancements to comments.  (No code changes.)
* libc/time/strftime.c:  Correct some problems that made wcsftime()
not work correctly:  work properly with swprintf returns that are
different from snprintf returns, correct test vector lengths for
when sizeof(wchar_t) > 1.
* libc/stdio/sprintf.c:  Some documentation and comment corrections and
enhancements to match those done to swprintf.c.
newlib/ChangeLog
newlib/libc/stdio/sprintf.c
newlib/libc/stdio/swprintf.c
newlib/libc/stdio/vfwprintf.c
newlib/libc/stdio/vswprintf.c
newlib/libc/time/strftime.c