The Samba-Bugzilla – Attachment 10793 Details for
Bug 11119
lib/replace/sprintf.c needs to support format specifier %j
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am cherry-pick from master for 4.2.0.
0001-snprintf-Try-to-support-j.patch (text/plain), 1014 bytes, created by
Jeremy Allison
on 2015-02-25 22:41:48 UTC
(
hide
)
Description:
git-am cherry-pick from master for 4.2.0.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2015-02-25 22:41:48 UTC
Size:
1014 bytes
patch
obsolete
>From 5a16537032561b428d2f61c99d134d005ef8622b Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Wed, 11 Feb 2015 17:16:50 +0100 >Subject: [PATCH] snprintf: Try to support %j > >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 > >(cherry picked from commit 5f08d8b1728cc4559e61e0c928577724e0e2f9d2) >--- > lib/replace/snprintf.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/lib/replace/snprintf.c b/lib/replace/snprintf.c >index 6b4a711..86ba74c 100644 >--- 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++; >-- >2.2.0.rc0.207.ga3a616c >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 11119
:
10790
| 10793