X-Spam-Check-By: sourceware.org
Message-ID: <89b7ca960607311601m81b2221s123397b3ef6dc4ad@mail.gmail.com>
Date: Mon, 31 Jul 2006 16:01:36 -0700
From: "Alex Eng" <skydaemon@gmail.com>
To: cygwin@cygwin.com
Subject: Re: 1.5.21: file timestamp not updated after editing
In-Reply-To: <20060731073936.GF8152@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <89b7ca960607291929u28fd2020kcc0dc399dbf9d5e1@mail.gmail.com> 	 <20060730134229.GD8152@calimero.vinschen.de> 	 <89b7ca960607300927y54ac6823i68110c88c50c4095@mail.gmail.com> 	 <20060731073936.GF8152@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 7/31/06, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> On Jul 30 09:27, Alex Eng wrote:
> > On 7/30/06, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> > >On Jul 29 19:29, Alex Eng wrote:
> > >> After editing a file, the timestamp on the file (according to ls -l)
> > >> is unchanged.  However if stat <filename> is executed, the change
> > >> timestamp given in the output differs from that given in ls -l:
> > >>
> > >> $ ls -l foo.c
> > >> -rw-r--r-- 1 Alex 126 Jul 29 17:10 foo.c
> > >> $ nano foo.c
> > >> ### File is edited and saved ###
> > >> $ ls -l foo.c
> > >> -rw-r--r-- 1 Alex 289 Jul 29 17:10 foo.c
> > >> $ stat foo.c
> > >>  File: `foo.c'
> > >>  Size: 289             Blocks: 1          IO Block: 1024   regular file
> > >> Device: a8dc98beh/2833029310d   Inode: 562949953426654  Links: 1
> > >> Access: (0644/-rw-r--r--)  Uid: ( 1004/    Alex)   Gid: (  513/    None)
> > >> Access: 2006-07-29 18:19:09.921875000 -0700
> > >> Modify: 2006-07-29 17:10:44.531250000 -0700
> > >> Change: 2006-07-29 18:19:15.828125000 -0700
> > >
> > >I can't reproduce this problem at all.  [...]
> >
> > I disabled Norton Antivirus 2005 and ZoneAlarm firewall, but the
> > problem is still present.
> >
> > I did some further troubleshooting and found that this problem doesn't
> > occur anymore if I'm running Cygwin while Windows XP is in safe mode.
> > But it happens again if I start Windows using the "Safe Mode With
> > Networking" option.  I've been able to reproduce this consistently.
>
> This points to some bad interaction with another piece of software on
> your machine.  Probably something which installed a driver module.
>

Did some more investigation - the problem doesn't occur if I edit the
file in CMD.EXE, using the EDIT text editor, nor does it occur if I
edit the file using regular Windows apps like Notepad, WordPad, etc.
A driver problem is definitely a possibility (I'm already suspecting
the NVIDIA nForce chipset drivers), and will look into it.

Some details of my hardware which might help: AMD Athlon X2 4200+
dual-core processor,  Seagate 300MB SATA hard drive, 1 GB dual-channel
RAM, NVIDIA nForce chipset (as noted above), Asus A8N5X motherboard.

--
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/

