httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Mendelson <jo...@wserv.com>
Subject Re: cvs commit: apache-2.0/mpm/src/modules/mpm/prefork prefork.c
Date Wed, 28 Jul 1999 20:31:55 GMT
Jim Jagielski wrote:
> 
> Wilt, Paul wrote:
> >
> > This, of course, assumes that NULL evaulates to zero.  I used to have a
> > software manager who would change the value of NULL, rebuild the whole
> > runtime library and see who had not been checking return values!
> >
> 
> That's pretty bogus since C guarantees that as far as the language
> is concerned, NULL will always evaluate to zero, no matter what.
> If you change the value of NULL, then you are in effect breaking
> C.

Actually, ANSI C defines NULL as a null pointer (void *)0. I believe ANSI C++
defines it as actually being just 0.


Jordan

--
Jordan Mendelson     : http://jordy.wserv.com
Web Services, Inc.   : http://www.wserv.com

Mime
View raw message