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
- question (preference?) about xmalloc Noel L Yap
- Re: question (preference?) about xmalloc Larry Jones
- Re: question (preference?) about xmalloc Donald Sharp
- Re: question (preference?) about xmalloc Russ Allbery
- Re: question (preference?) about xmalloc Michael Gersten
- Re: question (preference?) about xmalloc Greg A. Woods
- Re: question (preference?) about xmalloc David Thornley
- Re: question (preference?) about xmalloc Derek Scherger
- Re: question (preference?) about xmalloc Jonathan M. Gilligan
- Re: question (preference?) about xmalloc David Thornley
- Re: question (preference?) about xmalloc Noel L Yap
- Re: question (preference?) about xmalloc Donald Sharp
