Support for st_birthtime

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Mar 26 09:00:00 GMT 2007


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/



More information about the Cygwin mailing list