The branch, master has been updated
       via  908539c resolv_wrapper: Update config variable name to match the 
code
       via  eb8f523 nss_wrapper: Add missing check for printf format validation
      from  afa41f0 dbwrap: Fix structure initialization

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


- Log -----------------------------------------------------------------
commit 908539c1c1411e5585060744bb3b0002535191bd
Author: Amitay Isaacs <ami...@gmail.com>
Date:   Mon Aug 8 14:13:30 2016 +1000

    resolv_wrapper: Update config variable name to match the code
    
    Signed-off-by: Amitay Isaacs <ami...@gmail.com>
    Reviewed-by: Andreas Schneider <a...@samba.org>
    
    Autobuild-User(master): Andreas Schneider <a...@cryptomilk.org>
    Autobuild-Date(master): Tue Aug  9 18:20:00 CEST 2016 on sn-devel-144

commit eb8f523b2f14329d18ed7edc8d896a12e3e5b8e2
Author: Amitay Isaacs <ami...@gmail.com>
Date:   Mon Aug 8 14:09:10 2016 +1000

    nss_wrapper: Add missing check for printf format validation
    
    Signed-off-by: Amitay Isaacs <ami...@gmail.com>
    Reviewed-by: Andreas Schneider <a...@samba.org>

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

Summary of changes:
 lib/nss_wrapper/wscript    | 12 ++++++++++++
 lib/resolv_wrapper/wscript |  4 ++--
 2 files changed, 14 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/nss_wrapper/wscript b/lib/nss_wrapper/wscript
index d53accb..113d99f 100644
--- a/lib/nss_wrapper/wscript
+++ b/lib/nss_wrapper/wscript
@@ -40,6 +40,18 @@ def configure(conf):
             addmain=False,
             msg='Checking for library destructor support')
 
+        # check HAVE_ATTRIBUTE_PRINTF_FORMAT
+        conf.CHECK_CODE('''
+            void log_fn(const char *format, ...) __attribute__ ((format 
(printf, 1, 2)));
+
+            int main(void) {
+                return 0;
+            }
+            ''',
+            'HAVE_ATTRIBUTE_PRINTF_FORMAT',
+            addmain=False,
+            msg='Checking for printf format validation support')
+
         conf.CHECK_FUNCS('gethostbyaddr_r gethostbyname_r')
         # Solaris
         conf.CHECK_FUNCS('__posix_getpwnam_r __posix_getpwuid_r')
diff --git a/lib/resolv_wrapper/wscript b/lib/resolv_wrapper/wscript
index 5596ec9..11904ce 100644
--- a/lib/resolv_wrapper/wscript
+++ b/lib/resolv_wrapper/wscript
@@ -38,7 +38,7 @@ def configure(conf):
             addmain=False,
             msg='Checking for library destructor support')
 
-        # check HAVE_FUNCTION_ATTRIBUTE_FORMAT
+        # check HAVE_ATTRIBUTE_PRINTF_FORMAT
         conf.CHECK_CODE('''
             void log_fn(const char *format, ...) __attribute__ ((format 
(printf, 1, 2)));
 
@@ -46,7 +46,7 @@ def configure(conf):
                 return 0;
             }
             ''',
-            'HAVE_FUNCTION_ATTRIBUTE_FORMAT',
+            'HAVE_ATTRIBUTE_PRINTF_FORMAT',
             addmain=False,
             msg='Checking for printf format validation support')
 


-- 
Samba Shared Repository

Reply via email to