a bug in printf %f and %a

David Schultz das at FreeBSD.ORG
Tue May 8 03:02:23 UTC 2007


On Fri, Apr 06, 2007, Bruno Haible wrote:
> Seen in FreeBSD 6.1.
> 
> printf "%010f" and printf "%010a", applied to NaN, Inf, or -Inf, pad with
> zeroes. Should pad with spaces instead.

Never mind...as the link you provided points out, they fixed the
standard. I'll fix the code as well.


More information about the freebsd-standards mailing list