-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 3/24/2007 9:17 PM: > James Youngman wrote: >> 2007-03-24 James Youngman <[EMAIL PROTECTED]> >> >> * lib/stat-time.h (get_stat_birthtime): New function for >> retrieving st_birthtime as provided by UFS2 (hence *BSD). >> * m4/stat-time.m4 (gl_STAT_BIRTHTIME): Probe for st_birthtime >> and its variants. >> * /modules/stat-time (configure.ac): call gl_STAT_BIRTHTIME. > > This is Paul's domain; nevertheless I'd like to mention that native Woe32 > platforms (mingw, msvc, but not Cygwin) implementation of stat() and > fstat() store the "file creation time" in st_ctime.
Meanwhile, CVS cygwin (will become cygwin 1.7.0) added support for st_birthtime, which maps to Window's creation time; while for some time now, cygwin has had st_ctime track change time (NTFS tracks all four file times, but on other filesystems, cygwin fakes ctime from mtime). So if you go with Bruno's suggestion for mingw, it is worth considering also making st_ctime more reliable for that platform by pointing it to something more accurate than creation time. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----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 iD8DBQFGBeuH84KuGfSFAYARAvEoAKCUfCYEoV1Z2r6QB5SG9SzUQNThJQCfatli DIsHyG+PAQQMZ9lUdUhBvYU= =bGcY -----END PGP SIGNATURE-----