Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id IAA09751; Fri, 12 Sep 1997 08:53:17 -0700 (PDT) Received: from eastwood.aldigital.algroup.co.uk (eastwood.aldigital.algroup.co.uk [194.128.162.193]) by hyperreal.org (8.8.5/8.8.5) with SMTP id IAA09720 for ; Fri, 12 Sep 1997 08:53:06 -0700 (PDT) Received: from freeby.ben.algroup.co.uk (freeby.ben.algroup.co.uk [193.133.15.6]) by eastwood.aldigital.algroup.co.uk (8.6.12/8.6.12) with ESMTP id PAA21659 for ; Fri, 12 Sep 1997 15:52:45 GMT Received: from algroup.co.uk (naughty.ben.algroup.co.uk [193.133.15.107]) by freeby.ben.algroup.co.uk (8.6.12/8.6.12) with ESMTP id QAA07372 for ; Fri, 12 Sep 1997 16:52:33 +0100 Message-ID: <34196533.7348CDBB@algroup.co.uk> Date: Fri, 12 Sep 1997 16:52:19 +0100 From: Ben Laurie Organization: A.L. Digital Ltd. X-Mailer: Mozilla 4.02 [en] (WinNT; I) MIME-Version: 1.0 To: new-httpd@apache.org Subject: Re: cvs commit: apachen/src/os/win32 os.c References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Paul Sutton wrote: > > On Fri, 12 Sep 1997, Ben Laurie wrote: > > Paul Sutton wrote: > > > + return (file && (file[0] == '/' || file[1] == ':') ? 1 : 0); > > > > What? What's wrong with: > > > > return file && (file[0] == '/' || file[1] == ':'); > > Eh? They are almost exactly the same. If ?: is too expense change it to > the latter. No, they are _exactly_ the same (except yours is harder to read), which is why I object. Cheers, Ben. -- Ben Laurie |Phone: +44 (181) 994 6435|Apache Group member Freelance Consultant |Fax: +44 (181) 994 6472|http://www.apache.org and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author A.L. Digital Ltd, |http://www.algroup.co.uk/Apache-SSL London, England. |"Apache: TDG" http://www.ora.com/catalog/apache