r15213: Remove helper macro for bcopy() - this causes problems
authorJelmer Vernooij <jelmer@samba.org>
Mon, 24 Apr 2006 16:15:29 +0000 (16:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:19 +0000 (14:04 -0500)
with system headers on some system and is not a security threat

source/lib/util/safe_string.h

index 43e094467ccd00955b8b1d31066bcf76b119c358..92d11ca8482e6f21c3f533353ade6371d10667d8 100644 (file)
 /* Some macros to ensure people don't use buffer overflow vulnerable string
    functions. */
 
-#ifdef bcopy
-#undef bcopy
-#endif /* bcopy */
-#define bcopy(src,dest,size) __ERROR__XX__NEVER_USE_BCOPY___;
-
 #ifdef strcpy
 #undef strcpy
 #endif /* strcpy */