[bug #19416] _FORTIFY_SOURCE warn_unused_result warnings

2007-03-25 Thread Robert Connolly
URL: Summary: _FORTIFY_SOURCE warn_unused_result warnings Project: findutils Submitted by: ashes Submitted on: Monday 03/26/2007 at 01:36 Category: None Severity: 3 -

Re: Support for st_birthtime

2007-03-25 Thread James Youngman
On 3/25/07, Eric Blake <[EMAIL PROTECTED]> 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_OM

Re: gnulib support for st_birthtime

2007-03-25 Thread Bruno Haible
James Youngman wrote: > this is a change which I cannot test since I > have no Woe32 system. I will push the change into findutils (instead > of using it indirectly in gnulib) and test it there for a bit. On the contrary, pushing the change into gnulib will make testing easier: If you provide a u

Re: Support for st_birthtime

2007-03-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to James Youngman on 3/25/2007 4:13 AM: > On 3/25/07, James Youngman <[EMAIL PROTECTED]> wrote: >> > st_birthtime (for seconds), or st_birthtim (for struct timespec) >> > http://cygwin.com/ml/cygwin-cvs/2007-q1/msg00122.html > > I forgot to

Re: Support for st_birthtime

2007-03-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to James Youngman on 3/25/2007 4:12 AM: > > +#ifdef __CYGWIN_USE_BIG_TYPES__ > + timestruc_t st_birthtim; > +#else > long st_spare4[2]; > +#endif > > Why not give st_spare4 a name more reminiscent of its actual purpose? Becau

Re: gnulib support for st_birthtime

2007-03-25 Thread James Youngman
On 3/25/07, Bruno Haible <[EMAIL PROTECTED]> wrote: 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. This is even documented on msdn.microsoft.com. The

Re: Support for st_birthtime

2007-03-25 Thread James Youngman
On 3/25/07, James Youngman <[EMAIL PROTECTED]> wrote: > st_birthtime (for seconds), or st_birthtim (for struct timespec) > http://cygwin.com/ml/cygwin-cvs/2007-q1/msg00122.html I forgot to ask, what happens (from the user program's point of view) if the file being examined has no creation time

Re: Support for st_birthtime

2007-03-25 Thread James Youngman
On 3/25/07, Eric Blake <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to James Youngman on 3/24/2007 5:01 PM: >> > I have recently been working on support for st_birthtime. This is a >> > UFS2 feature present in several versions of BSD. >> >> It was also rece