Noel L Yap writes:
> 
> For safety, I propose that xmalloc zero out the memory it allocates.  Any
> comments or rebuttals?

If the code's correctly written, it's a waste of time.  If the code
isn't correctly written, it may well hide that fact and delay the code's
getting fixed.

It's also not portable -- according to the C standard, all zero bits
doth not a null pointer make.

-Larry Jones

Temporary insanity!  That's all it was! -- Calvin

Reply via email to