git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177692c
)
snprintf: Try to support %j
author
Volker Lendecke
<vl@samba.org>
Wed, 11 Feb 2015 16:16:50 +0000
(17:16 +0100)
committer
Jeremy Allison
<jra@samba.org>
Thu, 12 Feb 2015 22:34:33 +0000
(23:34 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Feb 12 23:34:33 CET 2015 on sn-devel-104
lib/replace/snprintf.c
patch
|
blob
|
history
diff --git
a/lib/replace/snprintf.c
b/lib/replace/snprintf.c
index 6b4a711045c4c4a5530b3c22f2f5894a48242991..86ba74cf4f8dc9101ba9d41005f12d9abc4c4642 100644
(file)
--- a/
lib/replace/snprintf.c
+++ b/
lib/replace/snprintf.c
@@
-445,6
+445,10
@@
static int dopr(char *buffer, size_t maxlen, const char *format, va_list args_in
ch = *format++;
}
break;
+ case 'j':
+ cnk->cflags = DP_C_LLONG;
+ ch = *format++;
+ break;
case 'L':
cnk->cflags = DP_C_LDOUBLE;
ch = *format++;