src/newlib ChangeLog libc/stdio/snprintf.c lib ...
jjohnstn@sourceware.cygnus.com
jjohnstn@sourceware.cygnus.com
Tue Aug 8 12:01:00 GMT 2000
CVSROOT: /cvs/src
Module name: src
Changes by: jjohnstn@sourceware.cygnus.com 2000-08-08 12:01:02
Modified files:
newlib : ChangeLog
newlib/libc/stdio: snprintf.c vsnprintf.c
Log message:
2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
so size of 0 results in nothing being written to string.
Also fixed code so that when size is non-zero, there is only
a maximum of size - 1 characters written to the array and
a nul terminator is appended at the end.
* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.46&r2=1.47
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/snprintf.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/vsnprintf.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
More information about the Newlib-cvs
mailing list