2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix that suppressed . for %.0f, 0.1. Check now looks if there are padding zeroes (expt) in addition to any digits (ndig) to print.
This commit is contained in:
parent
4c7b82500d
commit
e9cd87b82a
|
@ -1,3 +1,10 @@
|
|||
2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
|
||||
that suppressed . for %.0f, 0.1. Check now looks if there
|
||||
are padding zeroes (expt) in addition to any digits (ndig) to
|
||||
print.
|
||||
|
||||
2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/sys/arc/Makefile.am: New file.
|
||||
|
|
|
@ -853,7 +853,7 @@ number: if ((dprec = prec) >= 0)
|
|||
}
|
||||
} else if (expt <= 0) {
|
||||
PRINT("0", 1);
|
||||
if(ndig) {
|
||||
if(expt || ndig) {
|
||||
PRINT(decimal_point, 1);
|
||||
PAD(-expt, zeroes);
|
||||
PRINT(cp, ndig);
|
||||
|
|
Loading…
Reference in New Issue