This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin make target is never determined up to date


I'm using stats right after creating the jar

Creating chrome JAR file. Done!
stat /cygdrive/e/tmp/alt/bin/build/chrome
/cygdrive/e/tmp/alt/bin/build/chrome/alt.jar
  File: `/cygdrive/e/tmp/alt/bin/build/chrome'
  Size: 0               Blocks: 0          IO Block: 1024   directory
Device: bef281h/12513921d       Inode: 8444249301500971  Links: 2
Access: (0755/drwxr-xr-x)  Uid: ( 1003/a)   Gid: (  513/    None)
Access: 2010-05-06 07:57:25.470000000 +0900
Modify: 2010-05-06 07:57:25.470000000 +0900
Change: 2010-05-06 07:57:25.470000000 +0900
  File: `/cygdrive/e/tmp/alt/bin/build/chrome/alt.jar'
  Size: 28860           Blocks: 32         IO Block: 1024   regular file
Device: bef281h/12513921d       Inode: 9570149208343597  Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1003/a)   Gid: (  513/    None)
Access: 2010-05-06 07:57:25.470000000 +0900
Modify: 2010-05-06 07:57:25.470000000 +0900
Change: 2010-05-06 07:57:25.470000000 +0900

This output is from 1.7.5 on Win7, which I downloaded/installed 2 days ago.
The timestamps are equal most of the time, just sometimes it may happen be
different. 


Dave Korn-6 wrote:
> 
> On 06/05/2010 00:46, MichaelKim wrote:
>> At the moment I have Win7 with version 1.7.5. Most of the time the
>> timestamps
>> of dir and inside file are exactly same.
> 
>   Ah.  The fact that the timestamps *look* the same when shown in the
> output
> of a "dir" or "ls" command doesn't mean they're actually the same when
> compared to the nearest 100ns, which is the accuracy of the underlying
> NTFS
> file timestamps.
> 
>> Have WinXP with version 1.5.19 where the timestamps are _always_ the
>> same.
>> The one at home Win7, which is _always_ dir has newer timestamp I believe
>> again 1.7.5, same as the one I mentioned above.
> 
>   I think that's probably the cause of the difference.  I haven't
> double-checked in the archives, but I'm reasonably sure that's it: old 1.5
> never used to update the directory timestamps - as is actually required by
> the
> POSIX spec, so 1.7 is doing the right thing, even though it's in some ways
> less convenient!
> 
>     cheers,
>       DaveK
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Cygwin-make-target-is-never-determined-up-to-date-tp28454344p28467975.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]