| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4BE20D67.3040707@gmail.com> |
| Date: | Thu, 06 May 2010 01:29:27 +0100 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Cygwin make target is never determined up to date |
| 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> |
| In-Reply-To: | <28467801.post@talk.nabble.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |