git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3163213
)
merge from 2.2
author
Herb Lewis
<herb@samba.org>
Thu, 19 Dec 2002 19:57:37 +0000
(19:57 +0000)
committer
Herb Lewis
<herb@samba.org>
Thu, 19 Dec 2002 19:57:37 +0000
(19:57 +0000)
actually print args for %g and %e
source/lib/snprintf.c
patch
|
blob
|
history
diff --git
a/source/lib/snprintf.c
b/source/lib/snprintf.c
index cd1e63ce59fe66504f0b0101509c88bb02f46312..1eae2f09b9bc5a6bf6525fda7336230cc325b291 100644
(file)
--- a/
source/lib/snprintf.c
+++ b/
source/lib/snprintf.c
@@
-341,6
+341,7
@@
static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
fvalue = va_arg (args, LDOUBLE);
else
fvalue = va_arg (args, double);
+ fmtfp (buffer, &currlen, maxlen, fvalue, min, max, flags);
break;
case 'G':
flags |= DP_F_UP;
@@
-349,6
+350,7
@@
static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
fvalue = va_arg (args, LDOUBLE);
else
fvalue = va_arg (args, double);
+ fmtfp (buffer, &currlen, maxlen, fvalue, min, max, flags);
break;
case 'c':
dopr_outch (buffer, &currlen, maxlen, va_arg (args, int));