summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-06-11 05:34:14 +0000
committerAndrew Tridgell <tridge@samba.org>2003-06-11 05:34:14 +0000
commitd3688454185adc97bcdfd821b8c2641163aa392a (patch)
tree1c877d5ebebf64b5b58d817c05e7e9466e9022cb
parent592407ed20ac6297084d0f5fc1d196b2947020ed (diff)
downloadsamba-d3688454185adc97bcdfd821b8c2641163aa392a.tar.gz
samba-d3688454185adc97bcdfd821b8c2641163aa392a.tar.bz2
samba-d3688454185adc97bcdfd821b8c2641163aa392a.zip
on AIX FD_ZERO() is defined in terms of bzero(), so we can't have
the "don't use bzero" macros. In general I think it would be better to have a separate script that checks for deprecated functions like these using grep rather than using these cpp tricks. They just get us into trouble. (This used to be commit 2a227c880db0f233fb1f6dae5851450ea6020f3b)
-rw-r--r--source3/include/safe_string.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/include/safe_string.h b/source3/include/safe_string.h
index 9f908bc145..df3633d91d 100644
--- a/source3/include/safe_string.h
+++ b/source3/include/safe_string.h
@@ -32,11 +32,6 @@
#endif /* bcopy */
#define bcopy(src,dest,size) __ERROR__XX__NEVER_USE_BCOPY___;
-#ifdef bzero
-#undef bzero
-#endif /* bzero */
-#define bzero(dest,size) __ERROR__XX__NEVER_USE_BZERO_USE_MEMSET_INSTEAD___;
-
#ifdef strcpy
#undef strcpy
#endif /* strcpy */