httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@devsys.jaguNET.com>
Subject Re: cvs commit: apache-2.0/mpm/src/modules/mpm/prefork prefork.c
Date Tue, 27 Jul 1999 19:35:52 GMT
Ben Laurie wrote:
> 
> "Ralf S. Engelschall" wrote:
> > 
> > In article <19990727133121.1636.qmail@hyperreal.org> you wrote:
> > 
> > >   Fix a warning.
> > >
> > >   -    one_process = getenv("ONE_PROCESS");
> > >   +    one_process = !!getenv("ONE_PROCESS");
> > 
> > <grin> A very interesting solution variant... :-)
> 
> :-) I hope it didn't offend anyone... its actually quite a useful
> technique where you definitely want a boolean as a result.
> 

Not at all. Quite elegant. :)

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message