Date: Wed, 24 Dec 1997 15:02:51 -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 vfprintf.c vsnprintf.c Message-ID: <199712242302.PAA08016@freefall.freebsd.org>
index | next in thread | raw e-mail
ache 1997/12/24 15:02:50 PST
Modified files:
lib/libc/stdio snprintf.c vfprintf.c vsnprintf.c
Log:
Return back to BSD snprintf semantics which recent C9x standard adopts
instead of Singe Unix, thanx Bruce for explaining, I am not realize
standards war was there.
But now, fix n == 0 case to not return error and fix check for too
big n.
Things left to do: check for overflow in arguments.
Revision Changes Path
1.9 +9 -6 src/lib/libc/stdio/snprintf.c
1.15 +5 -9 src/lib/libc/stdio/vfprintf.c
1.9 +9 -6 src/lib/libc/stdio/vsnprintf.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712242302.PAA08016>
