Date: Thu, 1 Jan 1998 12:16:00 -0800 (PST) From: "Andrey A. Chernov" <ache@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdio snprintf.c vsnprintf.c Message-ID: <199801012016.MAA06856@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 1998/01/01 12:16:00 PST Modified files: lib/libc/stdio snprintf.c vsnprintf.c Log: 1. EOF was returned when the buffer size was larger than INT_MAX. This case has very little to do with the output size being larger than INT_MAX. 2. The new #include of <limits.h> was disordered. 3. The new declaration of `on' was disordered (integer types go together). 4. Testing an unsigned value for > 0 was fishy. Submitted by: bde Revision Changes Path 1.11 +5 -5 src/lib/libc/stdio/snprintf.c 1.11 +5 -5 src/lib/libc/stdio/vsnprintf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801012016.MAA06856>