delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/14/14:43:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20011114194337.46026.qmail@web13906.mail.yahoo.com>
Date: Wed, 14 Nov 2001 11:43:37 -0800 (PST)
From: chad fowler <chadfowler AT yahoo DOT com>
Subject: utime Bug?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

I'm a new cygwin user and a fairly lame C programmer. 
However, I think I've discovered a bug.  When I find
things like this, I usually assume it's my fault. 
But, this seems to be at least inconsistent with other
platforms.

When you use utime to set the actime to 0 (the epoch),
stat will show actime as being whatever modtime is set
to for that file.  If you set it to anything else (1,
for example), actime is reflected accurately by stat.

Am I off base?  The same code on my Debian box returns
the epoc for atime (instead of the modtime value).

Does this make sense?

Thanks in advance,
Chad

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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