2008/5/8 Steph Fox <[EMAIL PROTECTED]>:
> Hi Richard,
>
>> Basically search&replace rmdir with rd in the win32/build/Makefile
>
> Why? rd's just an alias of rmdir, and rmdir's the more human-readable of the
> two.
>
> - Steph
>

If only I could send the sound of my shoulders slumping as yet another
post is ignored/filtered. http://news.php.net/php.internals/37517

I truly believe that no one on this list reads my emails or
automatically filters them. If you want to just f*ck off, then say so.


As I said in the original post, if you have cygwin installed (as was
needed to build the PHP documentation in the bad old days before phd),
then rmdir.exe would be in your path).

It seems that nmake follows the path BEFORE using the shell. My proof
is that cygwin's rmdir.exe is executed. If I rename it then the
shell's rmdir is used. Revert the rename and cygwin's rmdir.exe is
executed. Simple.

cygwin's rmdir.exe doesn't support /s or /q so this when you try to
run nmake clean(xxxx) you get an error from rmdir.exe and no cleaning.

I could rename cygwin's rmdir, but then all my script relying on
rmdir.exe's behaviour fail (windows rd doesn't support --parents
--ignore-fail-on-non-empty, etc).

By using rd, this isn't found in the path by nmake and runs correctly
with the windows/dos options.

You can use filemon to see nmake hunting for rmdir.xxx where xxx is
the contents of PATHEXT in each PATH.

Richard.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to