www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/07/26/11:36:54

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <jason AT tishler DOT net>
To: CD List <Cygwin-Developers AT Cygwin DOT Com>
Subject: Re: stat() whacks st_atime
Message-ID: <20010726112414.D439@dothill.com>
Mail-Followup-To: CD List <Cygwin-Developers AT Cygwin DOT Com>
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019