X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <28467975.post@talk.nabble.com> Date: Wed, 5 May 2010 17:16:23 -0700 (PDT) From: MichaelKim To: cygwin AT cygwin DOT com Subject: Re: Cygwin make target is never determined up to date In-Reply-To: <4BE20D67.3040707@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <28454344 DOT post AT talk DOT nabble DOT com> <4BE0F722 DOT 1040009 AT bopp DOT net> <28456659 DOT post AT talk DOT nabble DOT com> <4BE0FC52 DOT 80708 AT bopp DOT net> <4BE11A07 DOT 1040308 AT gmail DOT com> <28467628 DOT post AT talk DOT nabble DOT com> <4BE20556 DOT 8040705 AT gmail DOT com> <28467801 DOT post AT talk DOT nabble DOT com> <4BE20D67 DOT 3040707 AT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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