stat() whacks st_atime

Jason Tishler jason@tishler.net
Thu Jul 26 08:24:00 GMT 2001


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



More information about the Cygwin-developers mailing list