cvs commit: src/lib/libc/stdio vfprintf.c
David Schultz
das at FreeBSD.org
Mon Apr 14 04:24:55 PDT 2003
das 2003/04/14 04:24:53 PDT
FreeBSD src repository
Modified files:
lib/libc/stdio vfprintf.c
Log:
Fix a bug where printf was erroneously printing a decimal point for
%f and sufficiently short %g specifiers where the precision was
explicitly zero, no '#' flag was specified, and the floating point
argument was > 0 and <= 0.5. While at it, add some comments to better
explain the relevant bits of code.
Noticed by: Christoph Kukulies <kuku at physik.rwth-aachen.de>
Revision Changes Path
1.58 +10 -8 src/lib/libc/stdio/vfprintf.c
More information about the cvs-src
mailing list