projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ecea7
)
(__printf_fp): Correct check for %F format when determining type of format.
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 11 Mar 2002 21:28:56 +0000
(21:28 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 11 Mar 2002 21:28:56 +0000
(21:28 +0000)
stdio-common/printf_fp.c
patch
|
blob
|
history
diff --git
a/stdio-common/printf_fp.c
b/stdio-common/printf_fp.c
index
66a6084
..
746c5aa
100644
(file)
--- a/
stdio-common/printf_fp.c
+++ b/
stdio-common/printf_fp.c
@@
-806,7
+806,7
@@
__printf_fp (FILE *fp,
dig_max = INT_MAX; /* Unlimited. */
significant = 1; /* Does not matter here. */
}
- else if (
info->spec
== 'f')
+ else if (
_tolower (info->spec)
== 'f')
{
type = 'f';
fracdig_min = fracdig_max = info->prec < 0 ? 6 : info->prec;