Noel L Yap writes:
> 
> Hopefully, many eyes will tend to spot wild-pointer errors.

I prefer the cybernetic eyes of Purify and similar tools -- I run a
Purified version of CVS through the test suite every now and then and
there are currently no errors (although there are still a *lot* of
leaks).

> The occasion I've had for requesting zero-byte allocations have been when
> writing generic array structures that allows for zero elements.  Much of the
> algorithms were very much simplified if zero-byte allocations were allowed (and
> returned NULL).

Exactly.

-Larry Jones

Who, ME?  Who?! Me??  WHO... Me?!  Who, me??? -- Calvin

Reply via email to