Fix printf(3) and friends when printing a float with precision 0.
authorSascha Wildner <saw@online.de>
Fri, 17 Apr 2009 11:08:00 +0000 (13:08 +0200)
committerSascha Wildner <saw@online.de>
Fri, 17 Apr 2009 11:08:00 +0000 (13:08 +0200)
commita0a6e6351f868e9c99afdfd474633693c8b0e474
tree6cee5d682b916eb55da351818dc6bd3acd607b3c
parent50393a6049e385cd8f1e159c570c020e20075b9f
Fix printf(3) and friends when printing a float with precision 0.

The decimal point shall be supressed in this case.

Reported-by: y0netan1
Patch-by: pavalos
lib/libc/stdio/vfprintf.c