utime Bug?

chad fowler chadfowler@yahoo.com
Sun Nov 11 08:26:00 GMT 2001


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/



More information about the Cygwin mailing list