summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vfprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* The 4.4-lite vfprintf counted the %# hex prefix and the sign inBill Fenner1996-03-201-8/+6
| | | | | | | | | | | the precision; ANSI X3J11 is not crystal clear but certainly says that the precision specifies the number of /digits/, and signs and "0x" aren't really digits. NetBSD already has a similar patch. Notes: svn path=/head/; revision=14727
* Reviewed by: julian and (hsu?)Julian Elischer1996-01-221-3/+23
| | | | | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations Notes: svn path=/head/; revision=13545
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | Notes: svn path=/head/; revision=8870
* Obtained from: 1.1.5 (originally by jtc)Bruce Evans1995-04-061-1/+2
| | | | | | | | | | Fix printf("%g", 0.0) - print "0", not "0.". The previous fixes in this area had one non-cosmetic (non-)change that caused this bug. Bruce Notes: svn path=/head/; revision=7649
* Remove `|| flags & ALT == 0' which was an obscure no-op, not aBruce Evans1995-03-121-1/+1
| | | | | | | parenthesization/precedence bug. Notes: svn path=/head/; revision=7036
* Obtained from: 1.1.5. Originally by jtc. Cosmetically changed for thisBruce Evans1995-03-121-15/+23
| | | | | | | | | | | | | | | | | | | | | commit by bde. Fix bugs in floating point formatting. The 4.4lite version is similar to revision 1.3 in old-cvs and is missing all of jtc's fixes in revision 1.4 in old-cvs. Revision 1.2 in ncvs fixed one of the old bugs but introduced at least one new one (for %.0e). old-cvs log: revision 1.4 date: 1993/11/04 19:38:22; author: jtc; state: Exp; lines: +33 -20 My work from NetBSD to make printf() & friends ANSI C compliant. Fixes several bugs in floating point formatting: 1. Trailing zeros were being stripped with %e format. 2. %g/%G formats incorrect. 3. Lots of other nits. Notes: svn path=/head/; revision=7033
* Fix handling of 'e' format floating point so that it prints trailing zerosDoug Rabson1995-01-191-1/+0
| | | | | | | correctly. Notes: svn path=/head/; revision=5707
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+859
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573