Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Sun, 3 Apr 2005 22:11:18 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: file times still not quite right with 1.5.14 on Windows 98 Message-ID: <20050403201118.GA27953@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <040320051928 DOT 8840 DOT 425043D3000CBC800000228822007340760A050E040D0C079D0A AT comcast DOT net> <425049DA DOT 8090803 AT joesbox DOT cjb DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <425049DA.8090803@joesbox.cjb.net> User-Agent: Mutt/1.4.2i On Apr 3 15:54, Josef Drexler wrote: > Eric Blake wrote: > >The bug is not that ctime was touched, but that mtime was not > >touched. Normally, Windows updates mtime automatically if you edit a > >file, only the ctime needed special treatment from cygwin. I have no > >idea why Win98 is not touching the mtime on appending or truncation. > > Oh, I have no problem with ctime changing, but mtime not changing is > definitely a bug in cygwin. It must somehow intentionally copy the old > mtime when a file is modified. If I repeat the sequence I posted using It's not exactly Cygwin, it's the incredible braindead Windows 95/98/Me and I'm more and more wondering why anybody is still using it voluntarily. No offence meant, I'm just venting. Cygwin is touching ctime right before closing the file, when a write or one of chmod/chown/acl has been called successfully. Win98 is apparently "confused" by the fact that ctime is changed to a value bigger than the modification time and then simply refuses to change the modification time on file close. I first thought this might be a FAT problem, but NT changes the modification time just fine. I can't stop shaking my head about 9x. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/