Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Thu, 26 Jul 2001 11:24:14 -0400 From: Jason Tishler To: CD List Subject: Re: stat() whacks st_atime Message-ID: <20010726112414.D439@dothill.com> Mail-Followup-To: CD List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B604CDD.103A772B@yahoo.com> User-Agent: Mutt/1.3.18i 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 DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com