Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37562 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59455 invoked from network); 9 May 2008 10:59:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2008 10:59:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.200.169 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.200.169 wf-out-1314.google.com Received: from [209.85.200.169] ([209.85.200.169:61770] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/74-34643-EAE24284 for ; Fri, 09 May 2008 06:59:58 -0400 Received: by wf-out-1314.google.com with SMTP id 26so1103488wfd.26 for ; Fri, 09 May 2008 03:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HCNyTaqHABxHj8EyykLiPSOLpBq9CozTVaHbJpctmQk=; b=I/el0R2xMapVnGLV49YSpSrr0HWaJe1+89rRHqUIsdqB5o+X+tIyFE45CTsSsu7I2JrE246gVkUYwvO9SHMdu2QNK7y9QBiacHtC9+Ntf9TKQyVGoHViz9GPVh0iUIjbwqYGPln9l/S49u8eYzNyK1t7lZlFXNTL3NkfmANfKfc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TKZWwS6O1RXwSWqp9rwlMdUmU5i31NR+HPOE+T0x61StD0LJ1/5JhiDGTlmfSEtf5Jg04+3rlVTI8G7XJb0wejXsTF119d66MduoIJK68q7lT2Sr7wgt7z84LpIOfg7wuuZmgI4Hl/qLaryAVHSve5gBQ9Szl7jarJiOjJ0/gjg= Received: by 10.142.207.8 with SMTP id e8mr1884625wfg.243.1210330795737; Fri, 09 May 2008 03:59:55 -0700 (PDT) Received: by 10.142.161.16 with HTTP; Fri, 9 May 2008 03:59:55 -0700 (PDT) Message-ID: <10845a340805090359w3b515266pef5892ebd61b32d3@mail.gmail.com> Date: Fri, 9 May 2008 11:59:55 +0100 Reply-To: RQuadling@GoogleMail.com To: "Steph Fox" Cc: "Hannes Magnusson" , "internals Mailing List" In-Reply-To: <008d01c8b1c2$1a67c840$4001a8c0@foxbox> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10845a340805070942k435c9886j267a90bb8dc44b07@mail.gmail.com> <7f3ed2c30805071317l5faf1785s5e7422ea77b1bcb7@mail.gmail.com> <10845a340805080204i2c84a818w104cb11df0610250@mail.gmail.com> <013301c8b11b$22c24710$4001a8c0@foxbox> <10845a340805080805s53314162ybc23fca6c0b781e5@mail.gmail.com> <015501c8b125$0340e4f0$4001a8c0@foxbox> <10845a340805090324l5abab0ecx7e9ebe2ad39fbcce@mail.gmail.com> <008d01c8b1c2$1a67c840$4001a8c0@foxbox> Subject: Re: [PHP-DEV] Win32 Makefile template patch. From: rquadling@googlemail.com ("Richard Quadling") 2008/5/9 Steph Fox : > Hi Richard, > >>> Wouldn't having /cygwin/bin permanently in your PATH screw up native >>> executables throughout? Can you use MS rmdir on your system at all? >>> >> No. As in normal windows, shell commands take precedence over >> programs/scripts, even with the same name. If I want to use a cygwin >> program in preference to a windows one, then I will either delete or >> rename the windows one. If I can't do that, then I will put the cygwin >> version in a tools directory which is in the path before windows, et >> al. >> >> rmdir does not exist as an "executable" in windows/dos. It is part of >> the shell (command.com/cmd.exe). There is no "program" (or script or >> anything) called rmdir.anything. > > ... that's what 'alias' means. > >> Here is some steps I've taken to show the problem. If you don't have >> cygwin in your path, then this isn't an issue. But I do and I use >> cygwin tools all day. This patch removes the problem. For the last 20 >> years of software development, I've always used md/cd/rd rather than >> mkdir/chdir/rmdir. In windows they are the same thing. > > Eh, I'm just trying to figure out whether that conflict's specific to your > setup or not. Don't take it personally ;) but if it's an issue for all, > sure, the patch goes in. If it's just you, it probably doesn't. > > I uninstalled cygwin about 5 weeks ago when I had a stuffed hard disk, so I > can't check for myself what happens with PATH and cygwin. I didn't have any > problems with it when it was there, just - as you say - it's not essential > for docs any more, and that's about all I used it for. > > We need someone else to confirm/deny. > > - Steph > You don't actually need to install cygwin to see the fault. Create a batch file called rmdir.bat like this ... @ECHO OFF ECHO You are running %0 ECHO The parameters you supplied are: ECHO 1 : %1 ECHO 2 : %2 ECHO 3 : %3 ECHO 4 : %4 ECHO 5 : %5 PAUSE Place this in your path. Put it in the last directory in your path. My last path entry happens to be a common folder for Nero. (C:\Program Files\Common Files\Ahead\Lib". I've renamed the cygwin folder. I put the above batch file in the common folder location. vcvars32.bat'd myself. name clean-pecl Outputs ... Setting environment for using Microsoft Visual Studio 2008 x86 tools. 2008/05/09 11:55:44 C:\Work\php-src-PHP_5_3>nmake clean-pecl Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Cleaning PECL targets only rmdir /s /q Release_TS\pecl You are running "C:\Program Files\Common Files\Ahead\Lib\rmdir.BAT" The parameters you supplied are: 1 : /s 2 : /q 3 : Release_TS\pecl 4 : 5 : Press any key to continue . . . Remove rmdir.bat and all works as expected. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"