projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5beebbd
)
(decode_one_format): Use printf's L modifier for long doubles,
author
Jim Meyering
<jim@meyering.net>
Sun, 21 Apr 1996 21:07:13 +0000
(21:07 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 21 Apr 1996 21:07:13 +0000
(21:07 +0000)
not `l'. From Eric Backus.
src/od.c
patch
|
blob
|
history
diff --git
a/src/od.c
b/src/od.c
index
d8f52b1
..
2393571
100644
(file)
--- a/
src/od.c
+++ b/
src/od.c
@@
-855,7
+855,7
@@
decode_one_format (const char *s, const char **next, struct tspec *tspec)
#ifdef HAVE_LONG_DOUBLE
case FLOAT_LONG_DOUBLE:
print_function = print_long_double;
- pre_fmt_string = "%%%d.%d
l
e%%c";
+ pre_fmt_string = "%%%d.%d
L
e%%c";
fmt_string = xmalloc (strlen (pre_fmt_string));
sprintf (fmt_string, pre_fmt_string,
LDBL_DIG + 8, LDBL_DIG);