httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: cvs commit: apache-2.0/src/main http_protocol.c
Date Mon, 09 Oct 2000 04:00:49 GMT

> >Then I retract...  I was looking at code 20 minutes before I had
> >to teach, my brain wasn't all here.  I have always avoided relying
> >on a non-zero value being anything in particular, and has always
> >been a -big-red-flag- in my book, and yes, Greg, I do asm :-)
> Maybe you were thinking of other languages. EG Some BASICs return -1 for
> true.
> Oh, and a really don't see the point of using '\0', it's exactly the same
> as 0. I know the argument for it (makes it obvious you're comparing a
> character) but do you write 0.0 when comparing a float? 0L when comparing a
> long?

The original reason, was that we were trying to find a bug.  This bug was
on a beta version of BeOS, so just about everything was suspect.  As it
happens, it was something else all together, but this was an easy first


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message