make-w32
[Top][All Lists]
Advanced

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

Re: directory caching anomalies in win32


From: Aaron Shatters
Subject: Re: directory caching anomalies in win32
Date: Fri, 20 Apr 2007 13:53:31 -0700 (PDT)

Actually, on any platform, $(wildcard...) will probably give strange results 
when used to find files that were created/deleted during the make process.  
Whether they are side effect files, or real targets.  When a file is deleted, 
$(wildcard...) will probably still say that it still exists.  When a file is 
created, $(wildcard...) may or may not say that it exists, depending on timing 
of file operations, platform, and whether or not the file existed prior to 
being recreated.

It would be a fairly complex change to make to support the results of 
$(wildcard...) always being up to date.  It could be changed fairly easily for 
windows (I think), but for other platforms it looks like each directory is read 
in only once and the cache is never updated again.

What was the reason for rehashing the directory contents for windows if the 
file was not found in the directory cache and the directory has been 
modified... but not on any other platforms?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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