Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 11507 invoked by uid 500); 26 Sep 2001 01:40:44 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 11468 invoked from network); 26 Sep 2001 01:40:43 -0000 Message-ID: <3BB131D1.C8DEB5EA@wapme-systems.de> Date: Wed, 26 Sep 2001 03:39:29 +0200 From: Stipe Tolj Organization: Wapme Systems AG X-Mailer: Mozilla 4.7 [de]C-CCK-MCD QXW0322b (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: [PATCH] 1.3: serialized accept for Cygwin OS References: <3BAB4213.74AA3C0F@wapme-systems.de> <20010924181446.A83792@deejai2.mch.fsc.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Martin, > The idea was to make sure that .exe was assumed ONLY in the case that > no file _without_ .exe had been created. If both exist, then I don't > want to automatically assume that .exe is the default extension. > > By removing the code above, you would do just that: favor .exe over > "no extension" if both cases are found. > > Originally, I coded that as [ -f "$src.exe" ] && [ ! -f "$src" ] but > you told me that Cygwin's "test" is to dumb to grok this syntax. > > Thus let's keep it the way it is. (Thanks, Jim!) AFAIK, the code would have no inpact on over OS?! And as Cygwin does not create executables (at least from ld) "without" .exe extension I would prefer the change. The problem is that both operands of the arbitary AND operaion are true on Cygwin 1.x, even if there physicaly only exists $src.exe. Stipe tolj@wapme-systems.de ------------------------------------------------------------------- Wapme Systems AG M�nsterstr. 248 40470 D�sseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: info@wapme-systems.de Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are