This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: stat() whacks st_atime


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]