Bug #60343 [Opn->Fbk]: nmake clean results in root dir emptied in some cases

From: Date: Mon, 11 Oct 2021 12:26:36 +0000
Subject: Bug #60343 [Opn->Fbk]: nmake clean results in root dir emptied in some cases
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237139@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60343&edit=1

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

 New Comment:

Well, not sure what to do with this.  I haven't checked, but I
consider it not unlikely that this issue still persists.  However,
is it worth spending time on a fix?  I don't think so.


Previous Comments:
------------------------------------------------------------------------
[2011-11-21 00:32:09] cataphract@php.net

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

------------------------------------------------------------------------
[2011-11-21 00:14:32] cataphract@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


Thread (4 messages)

« previous php.bugs (#237139) next »