1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/lib/socket
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
..
access.c source4: Change to use lib/util/access functions. 2016-11-16 16:35:12 +01:00
connect_multi.c libsocket: Add "mem_ctx" to socket_create() 2018-02-27 09:14:17 +01:00
connect.c
interface.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
netif.h
socket_ip.c lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
socket_unix.c lib: Remove unused SOCKET_FLAG_BLOCK 2020-03-25 09:04:28 +00:00
socket.c lib: Remove unused SOCKET_FLAG_BLOCK 2020-03-25 09:04:28 +00:00
socket.h lib: Remove unused SOCKET_FLAG_BLOCK 2020-03-25 09:04:28 +00:00
testsuite.c libsocket: Add "mem_ctx" to socket_create() 2018-02-27 09:14:17 +01:00
wscript_build source4: Change to use lib/util/access functions. 2016-11-16 16:35:12 +01:00