1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/lib
Matthew DeVore 232054c09b lib/util: remove extra safe_string.h file
lib/util/safe_string.h is similar to source3/include/safe_string.h, but
the former has fewer checks. It is missing bcopy, strcasecmp, and
strncasecmp.

Add the missing elements to lib/util/safe_string.h remove the other
safe_string.h which is in the source3-specific path. To accomodate
existing uses of str(n?)casecmp, add #undef lines to source files where
they are used.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug 28 02:18:40 UTC 2020 on sn-devel-184
2020-08-28 02:18:40 +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 lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +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