Mail Archives: cygwin/2007/03/06/08:37:15
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Corinna Vinschen on 3/6/2007 6:18 AM:
>> is it worth
>> cygwin 1.7 adding st_birthtime support?
>
> I don't know if it's actually worth the effort, but it would be easily
> supportable in struct stat, given that we have spare room in struct stat
> of exactly the size of a timestruc_t, afaics. But, still, does it
> really make sense? How long will it take until st_birthtime will go
> into the standards, if at all?
>
I don't know if any standards bodies are talking about st_birthtime. But
imagine how useful it might be to use find(1) to find files created in a
certain time range, regardless of how their ctime has been modified since,
which is the driving factor behind the gnulib changes. Since Windows find
can do it, why can't GNU?
And while I'm wishing, it would be nice to have openat() and friends
(which ARE being standardized for the next revision of POSIX); one of the
new functions under discussion is utimensat, which allows a standardized
way of setting file timestamps to nanosecond precision (to the granularity
supported by the file system, obviously). A concept that was sorely
needed, since too many OS's can read sub-microsecond resolution, but
previously provided no way to set it. Not to mention that POSIX is trying
to standardize how sub-second resolutions are reported in struct stat.
(http://www.opengroup.org/austin/docs/austin_343.html, search for Fine
Grain File Timestamps)
[and have I ever mentioned that it would be nice if I could get copyright
assignment from my employer?]
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF7W7m84KuGfSFAYARAnWPAJ9XICifpznbyFglkKRcntPJ5b3PDQCgj0C5
t+ch94DgscrLcMp0rjFqfxc=
=l58F
-----END PGP SIGNATURE-----
--
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/
- Raw text -