The branch, master has been updated
       via  bedeeb0b596 tdb: version 1.4.5
       via  aacd3ecb45a tdb: Fix invalid syntax in tdb.h
      from  b724c1e6a66 utils: Avoid pylint warning

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


- Log -----------------------------------------------------------------
commit bedeeb0b596f563e0918cd5f7195ed6aed0817ce
Author: Stefan Metzmacher <me...@samba.org>
Date:   Mon Jul 19 12:57:50 2021 +0200

    tdb: version 1.4.5
    
    * fix standalone usage of tdb.h
    
    Signed-off-by: Stefan Metzmacher <me...@samba.org>
    Reviewed-by: Günther Deschner <g...@samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <me...@samba.org>
    Autobuild-Date(master): Tue Jul 20 11:48:38 UTC 2021 on sn-devel-184

commit aacd3ecb45ab04cb2f8a38a385a45bdca6d88cd2
Author: Günther Deschner <g...@samba.org>
Date:   Fri Jul 16 17:29:40 2021 +0200

    tdb: Fix invalid syntax in tdb.h
    
    Defining _PUBLIC_ in the same way as in talloc.h resolves an issue with
    a previous fix for Solaris Studio compiler 12.4 that prefixed all calls
    in tdb.h with _PUBLIC_.  Thanks to Lukas Slebodnik
    <lsleb...@redhat.com>.
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=14762
    
    Guenther
    
    Signed-off-by: Günther Deschner <g...@samba.org>
    Reviewed-by: Stefan Metzmacher <me...@samba.org>

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

Summary of changes:
 lib/tdb/ABI/{tdb-1.3.17.sigs => tdb-1.4.5.sigs} |  0
 lib/tdb/include/tdb.h                           | 13 +++++++++++++
 lib/tdb/wscript                                 |  2 +-
 3 files changed, 14 insertions(+), 1 deletion(-)
 copy lib/tdb/ABI/{tdb-1.3.17.sigs => tdb-1.4.5.sigs} (100%)


Changeset truncated at 500 lines:

diff --git a/lib/tdb/ABI/tdb-1.3.17.sigs b/lib/tdb/ABI/tdb-1.4.5.sigs
similarity index 100%
copy from lib/tdb/ABI/tdb-1.3.17.sigs
copy to lib/tdb/ABI/tdb-1.4.5.sigs
diff --git a/lib/tdb/include/tdb.h b/lib/tdb/include/tdb.h
index 696547c8cd9..884171c73d9 100644
--- a/lib/tdb/include/tdb.h
+++ b/lib/tdb/include/tdb.h
@@ -33,6 +33,19 @@ extern "C" {
 #include <signal.h>
 #include <stdbool.h>
 
+/* for old gcc releases that don't have the feature test macro __has_attribute 
*/
+#ifndef __has_attribute
+#define __has_attribute(x) 0
+#endif
+
+#ifndef _PUBLIC_
+#if __has_attribute(visibility)
+#define _PUBLIC_ __attribute__((visibility("default")))
+#else
+#define _PUBLIC_
+#endif
+#endif
+
 /**
  * @defgroup tdb The tdb API
  *
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index cee0889bd4a..19b256f037c 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 
 APPNAME = 'tdb'
-VERSION = '1.4.4'
+VERSION = '1.4.5'
 
 import sys, os
 


-- 
Samba Shared Repository

Reply via email to