Edit report at https://bugs.php.net/bug.php?id=60343&edit=1

 ID:                 60343
 Updated by:         cataphr...@php.net
 Reported by:        cataphr...@php.net
 Summary:            nmake clean results in root dir emptied in some
                     cases
 Status:             Open
 Type:               Bug
 Package:            *Compile Issues
 Operating System:   Windows
 PHP Version:        trunk-SVN-2011-11-20 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

More worrisome is that it also deleted all the files one level up from the 
source directory, in my case C:\Users\Cataphract_\Documents...


Previous Comments:
------------------------------------------------------------------------
[2011-11-21 00:14:32] cataphr...@php.net

Description:
------------
When running buildconf and configure on the same source directory, but via 
different symlinks, the resulting Makefile produces rules that result in nmake 
clean causing all the files (but not directories) of the source dir being 
deleted.

Actual result:
--------------
The gist https://gist.github.com/1381227 contains two files.

In the first, both buildconf and configure were run under 
C:\Users\Cataphract_\Documents\php-src

In the second, buildconf was run under C:\Users\Cataphract\Documents\php-src 
and configure was run under C:\Users\Cataphract_\Documents\php-src

C:\Users\Cataphract_\Documents\php-src and 
C:\Users\Cataphract\Documents\php-src represent the same directory.

nmake clean was run under C:\Users\Cataphract_\Documents\php-src in both cases.


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60343&edit=1

Reply via email to