CVS update: samba/source

Jeremy Allison jra at samba.org
Sat Nov 17 11:59:26 EST 2001


On Fri, Nov 16, 2001 at 04:56:16PM -0800, Andrew Tridgell wrote:
> > Do we want to do something like the __XXX_DONT_USE_STRCPY() macros
> > for bzero to stop it creeping back in?
> 
> no.
> 
> I really don't see what the fuss is all about. We already have:
> 
> #if !defined(HAVE_BZERO) && defined(HAVE_MEMSET)
> #define bzero(a,b) memset((a),'\0',(b))
> #endif
> 
> which means bzero is fine. bzero() also has the big advantage that
> programmers don't screw up the order of the arguments. That happens
> all the time with memset.

I know. I just hate it :-). It's one of those BSD'ism things :-).

I take it you're back home... :-). Good flight ?

I repaired the damage I did to 2.2 and HEAD whilst you were
flying so you shouldn't have any complaints when you cvs
update :-) :-).

Jeremy.




More information about the samba-cvs mailing list