This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Support for st_birthtime
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 26 Mar 2007 11:00:53 +0200
- Subject: Re: Support for st_birthtime
- References: <c5df85930703241439k678dc1f9y90b1e8565f9c2a28@mail.gmail.com> <4605AC0A.1000905@byu.net> <c5df85930703241601l43954ffcp3a478a545171fe6c@mail.gmail.com> <4605E9D1.5010105@byu.net> <c5df85930703250312n6233fc1rca53aafa71567b3a@mail.gmail.com> <c5df85930703250313g26a70d5fg6537f5ffa5a2f2bf@mail.gmail.com> <46068514.7020008@byu.net> <c5df85930703251328l7e4f2ed7sdf36a9fc579492ba@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
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/