According to Nicholas Clark: > Is it being used as part of an optimisation? Is it so that memory for > structures can be allocated with calloc() (or later reset to all bits zero) > and then in the source to reset that structure a macro used to write > 0 to all the pointers? On a platform where a NULL pointer is all bits zero, > that macro can be a no-op, so the code is (or should) be faster.
That's it. Thanks for saving me a commit-and-revert cycle. > If we're doing this, should we have one for floats, doubles and long > doubles having some representation for 0.0 other than all bits zero? :-) I think so. While POSIX may specify IEEE floating point, I doubt that ANSI does. :-, -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> Open Source is not an excuse to write fun code then leave the actual work to others.