1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/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
..
cmdline s4:lib: Use C99 initializer for poptOption in popt_credentials 2019-01-28 10:29:17 +01:00
com lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
events s4:lib/events: remove unused allow_warnings=True 2014-11-25 07:25:46 +01:00
messaging lib/messaging: Move messages_dgm out of source3 2020-05-06 00:06:40 +00:00
policy policy/gp: always close a file (CID 1445119) 2020-07-06 12:30:33 +00:00
registry Fix build after removal of an extra safe_string.h 2020-10-01 22:45:29 +00:00
samba3 libnet: Remove unused source4/libnet/libnet_sam{dump,sync}: 2019-05-06 07:11:51 +00:00
socket lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
stream Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
tls s3:lib:tls: Use better priority lists for modern GnuTLS 2020-06-17 17:42:02 +00:00
wmi py3: Remove #define PyInt_FromLong PyLong_FromLong 2020-03-23 19:12:43 +00:00