This is the mail archive of the cygwin@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]
Other format: [Raw text]

Re: utime Bug?


On Wed, Nov 14, 2001 at 11:43:37AM -0800, chad fowler wrote:
> 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?

Would you mind to create a small testcase?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/


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