diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-06-11 05:34:14 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-06-11 05:34:14 +0000 |
commit | d3688454185adc97bcdfd821b8c2641163aa392a (patch) | |
tree | 1c877d5ebebf64b5b58d817c05e7e9466e9022cb /source3 | |
parent | 592407ed20ac6297084d0f5fc1d196b2947020ed (diff) | |
download | samba-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)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/safe_string.h | 5 |
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 */ |