1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib
Alexander Bokovoy 234957a2e4 Fix build after removal of an extra safe_string.h
Move of strcasecmp redefine to lib/util/safe_string.h in
https://gitlab.com/samba-team/samba/-/merge_requests/1507 broke build on
Fedora 33 with GCC 10.2.1 for those compilation units that use
ldb_att_cmp().

The reason for that is that ldb_attr_cmp() defined as

   #define ldb_attr_cmp(a, b) strcasecmp(a, b)

because attribute names restricted to be ASCII by RFC2251 (LDAPv3 spec).

A solution is to add

   #undef strcasecmp

to all source code files which use ldb_attr_cmp().

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct  1 22:45:29 UTC 2020 on sn-devel-184
2020-10-01 22:45:29 +00:00
..
addns lib: addns: Fix ads_dns_lookup_ns(), ads_dns_query_dcs(), ads_dns_query_gcs(), ads_dns_query_kdcs(), ads_dns_query_pdc() to return size_t *. 2020-09-15 10:09:37 +00:00
afs s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
async_req lib: Fix a valgrind error 2020-04-23 21:53:38 +00:00
audit_logging audit_logging tests: Fix timezone validation 2020-03-07 06:37:09 +00:00
compression lzxpress: avoid technically undefined shift 2020-08-31 22:31:13 +00:00
crypto Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
dbwrap dbwrap_rbt: support TDB_INSERT and TDB_MODIFY store flags 2020-06-10 19:08:40 +00:00
fuzzing oss-fuzz: standardise on RUNPATH for the static-ish binaries 2020-09-11 03:43:40 +00:00
krb5_wrap Restrict GSSAPI query to the krb5 mechanism 2020-09-30 20:45:23 +00:00
ldb lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
ldb-samba Fix build after removal of an extra safe_string.h 2020-10-01 22:45:29 +00:00
messaging lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
mscat lib:mscat: Add missing return check for error in dumpsmcat 2019-05-24 06:07:08 +00:00
param lib:param: Add lpcfg_parse_enum_vals() 2020-08-19 16:22:40 +00:00
printer_driver lib:printer_driver: Retrieve Class value 2019-01-28 15:44:18 +01:00
pthreadpool build: Do not build selftest binaries for builds without --enable-selftest 2019-11-22 11:48:59 +00:00
replace lib/replace: move lib/replace/closefrom.c from ROKEN_HOSTCC_SOURCE to REPLACE_HOSTCC_SOURCE 2020-09-08 13:59:58 +00:00
smbconf waf: add library dependency for sendfile on Solaris 2019-02-17 13:33:15 +01:00
socket lib/socket: autodetect RSS using ETHTOOL_GRXRINGS 2020-05-07 14:44:40 +00:00
talloc talloc: Mark ptr of talloc_unlink() not as a tainted scalar 2020-06-09 16:02:59 +00:00
tdb tdb: Fix some signed/unsigned comparisons 2020-07-16 01:29:45 +00:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent tevent: Fix a tevent tutorial error 2020-05-19 12:07:42 +00:00
texpect texpect: Avoid duplicate sys_write() 2020-01-15 21:25:34 +00:00
torture lib/torture: fix subunit names of nested suites 2020-07-07 10:30:40 +00:00
tsocket tsocket: Fix a typo 2020-06-15 17:59:38 +00:00
util lib: Remove an optimization in string_replace() 2020-09-30 15:58:38 +00:00
README various: Remove references to about to be deleted thirdparty/dnspython 2018-12-11 20:07:18 +01:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library