make-w32
[Top][All Lists]
Advanced

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

Re: Dependencies on directories on NTFS volumes


From: Paul D. Smith
Subject: Re: Dependencies on directories on NTFS volumes
Date: Fri, 25 Mar 2005 18:11:05 -0500

%% "Casper Hornstrup" <address@hidden> writes:

  ch> On NTFS volumes, the last modification time of directories is
  ch> changed whenever a change occurs to the directory or an entry
  ch> within it.

It seems like standard filesystem behavior to me.  Based on my reading
of the MS doc you linked, UNIX filesystems work the same way.

  ch> This behaviour can cause make to go into a loop if an entry within
  ch> the directory is changed, and there exist other targets that
  ch> depend on the directory which then again causes changes to be made
  ch> to the directory.

In that case, your makefile is broken ;-).

  ch> This patch changes so the creation time is always used instead of
  ch> the last modification time for directories on Windows.

I don't think the current behavior is incorrect, and I don't think it
needs to be fixed.  After all, you could get identical behavior with
files, rather than directories, if you set your makefile up that
way... so don't do that :-).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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