This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: stat() whacks st_atime
- To: CD List <Cygwin-Developers at Cygwin dot Com>
- Subject: Re: stat() whacks st_atime
- From: Jason Tishler <jason at tishler dot net>
- Date: Thu, 26 Jul 2001 11:24:14 -0400
- Organization: Dot Hill Systems Corp.
Earnie,
On Thu, Jul 26, 2001 at 11:01:17AM -0600, Earnie Boyd wrote:
> Aren't all three times treated equal on FAT within Cygwin? A google
> came up with http://www.cygwin.com/ml/cygwin-cvs/2000-q4/msg00067.html
> which might answer this question.
All of my filesystems are (local) NTFS.
BTW, stat() returns the correct values for all three. Unfortunately, in
the process the access time gets changed to the current time. Hence, the
next time stat() is called, it returns a st_atime value that is actually
the time when stat() was last called and not the file's real st_atime.
Thanks,
Jason
--
Jason Tishler
Director, Software Engineering Phone: 732.264.8770 x235
Dot Hill Systems Corp. Fax: 732.264.8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com