httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: cvs commit: apache-2.0/mpm/src/modules/mpm/prefork prefork.c
Date Thu, 29 Jul 1999 18:46:59 GMT
Alexei Kosut wrote:
> 
> On Tue, 27 Jul 1999, Jim Jagielski wrote:
> 
> > 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. :)
> 
> Plus it gives the code a nice csh-like feel :)

Now that I would _not_ count as an advantage!

Cheers,

Ben [ex-csh devotee, now Bourne again].

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Mime
View raw message