diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2000-08-08 19:01:02 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2000-08-08 19:01:02 +0000 |
commit | befe0fb3e142e287f79e0589c2e50996d9f10944 (patch) | |
tree | 2f7b26a471166e65ac697426fd3996be261322d0 /winsup/cygwin/fhandler_serial.cc | |
parent | 0e882d4f29d54bc21a3147609d2caadb2d3a4c0f (diff) | |
download | cygnal-befe0fb3e142e287f79e0589c2e50996d9f10944.tar.gz cygnal-befe0fb3e142e287f79e0589c2e50996d9f10944.tar.bz2 cygnal-befe0fb3e142e287f79e0589c2e50996d9f10944.zip |
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.
Diffstat (limited to 'winsup/cygwin/fhandler_serial.cc')
0 files changed, 0 insertions, 0 deletions