www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_BJ,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4F5918A2.4090707@t-online.de> |
Date: | Thu, 08 Mar 2012 21:37:54 +0100 |
From: | Christian Franke <Christian DOT Franke AT t-online DOT de> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Firefox/10.0.2 SeaMonkey/2.7.2 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: rebase keeps last modification time of DLL unchanged |
References: | <4F57DC0F DOT 2090401 AT t-online DOT de> <20120308093206 DOT GR5159 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20120308093206.GR5159@calimero.vinschen.de> |
X-IsSubscribed: | yes |
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 |
Corinna Vinschen wrote: > On Mar 7 23:07, Christian Franke wrote: >> The rebase tool does not change last modification timestamp of each >> DLL even if its data has changed. This is likely because Windows >> "may" not update the timestamp for files written through a memory >> mapped view. >> >> Is this an intended behavior of rebase? > Why should rebase change the timestamp? Apart from the rebasing, the > DLL is still the same. If you want to know when it has been last > rebased, you can look into the file header: > > $ objdump -p cygiconv-2.dll | grep 'Time/Date[^ ]' > Time/Date Tue Mar 6 23:24:12 2012 > It depends: Changing data without changing st_mtime avoids (unneeded|required) file copies during incremental backups, rsync, robocopy, ... rebase does not explicitly (re)set the timestamp after rebasing. Is this by design? It relies on weakly defined Windows behavior: "When modifying a file through a mapped view, the last modification timestamp *may* not be updated automatically." http://msdn.microsoft.com/en-us/library/windows/desktop/aa366563.aspx Christian -- 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 |