help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exception to Paul's Second Rule?


From: Noel Yap
Subject: Re: exception to Paul's Second Rule?
Date: Thu, 16 Oct 2003 21:06:15 -0400

Noel Yap wrote:
> Hmmm, at first I thought that gmake should prevent the race condition due to 
> the dependency on %/../... since that should stat to the same file (but not 
> if the dependency is on %.mkdir), but now I'm thinking there may still be 
> room for a race condition.

FYI, my tests (on IRIX, Linux, and Solaris) indicate that %/../... does wind up 
stat'ing to the same file, but this behaviour may be different on other 
systems.  If it is, the pattern could be changed to something like .%/../... 
which, although messier
with the extra directories, should stat to the same file.

Noel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]