Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 18165 invoked by uid 6000); 29 Jul 1999 09:32:01 -0000 Received: (qmail 18144 invoked from network); 29 Jul 1999 09:31:58 -0000 Received: from elaine32.stanford.edu (171.64.15.107) by taz.hyperreal.org with SMTP; 29 Jul 1999 09:31:58 -0000 Received: (from akosut@localhost) by elaine32.Stanford.EDU (8.8.8/8.8.7) id CAA04289; Thu, 29 Jul 1999 02:31:51 -0700 (PDT) Date: Thu, 29 Jul 1999 02:31:51 -0700 (PDT) From: Alexei Kosut To: new-httpd@apache.org Subject: Re: cvs commit: apache-2.0/mpm/src/modules/mpm/prefork prefork.c In-Reply-To: <199907271935.PAA01449@devsys.jaguNET.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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"); > > > > > > 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 :) -- Alexei Kosut Stanford University, Class of 2001 * Apache *