From 1923b78209aaa2aa926dedd19e6c97fb449c48c8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 22 Mar 2011 15:30:43 +1100 Subject: s3-lib Remove the clobber_region() code. This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett --- source3/wscript_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/wscript_build') diff --git a/source3/wscript_build b/source3/wscript_build index cb3bbc29be..fa8c18edaa 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -77,7 +77,7 @@ LIB_SRC = ''' lib/access.c lib/smbrun.c lib/bitmap.c lib/dprintf.c lib/wins_srv.c - lib/clobber.c lib/util_sid.c + lib/util_sid.c lib/util_file.c lib/util.c lib/util_names.c lib/util_sock.c lib/sock_exec.c lib/util_sec.c -- cgit