stat() whacks st_atime

Jason Tishler
Thu Jul 26 08:24:00 GMT 2001


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


Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email:
Hazlet, NJ 07730 USA                 WWW:

More information about the Cygwin-developers mailing list