The branch, master has been updated
       via  5f08d8b snprintf: Try to support %j
      from  177692c torture/ioctl: add test_ioctl_sparse_copy_chunk test

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 5f08d8b1728cc4559e61e0c928577724e0e2f9d2
Author: Volker Lendecke <[email protected]>
Date:   Wed Feb 11 17:16:50 2015 +0100

    snprintf: Try to support %j
    
    Signed-off-by: Volker Lendecke <[email protected]>
    Reviewed-by: Jeremy Allison <[email protected]>
    
    Autobuild-User(master): Jeremy Allison <[email protected]>
    Autobuild-Date(master): Thu Feb 12 23:34:33 CET 2015 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/replace/snprintf.c | 4 ++++
 1 file changed, 4 insertions(+)


Changeset truncated at 500 lines:

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++;


-- 
Samba Shared Repository

Reply via email to