This is the mail archive of the cygwin 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: Support for st_birthtime


On Mar 25 21:28, James Youngman wrote:
> On 3/25/07, Eric Blake <ebb9@byu.net> wrote:
> >And part of the joy of it being a CVS development snapshot is that I can
> >give some feedback back to the cygwin developers - what would you rather
> >have stat do when btime is not available for a given file?
> 
> Set tv_sec to 0, and tv_nsec to UTIME_OMIT (if available) or to any
> negative number.

This is a non-issue, afaics.  Windows filetime functions always return
a creation time and I don't know filesystems which wouldn't return a
creation time.  Samba on linux for instance returns the last modification
time as creation time.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]