bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st_birthtime


From: Paul Eggert
Subject: Re: st_birthtime
Date: Mon, 05 Mar 2007 21:42:19 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"James Youngman" <address@hidden> writes:

> I see that FreeBSD and NetBSD support st_birthtime.  I'm considering
> supporting these in findutils.   Is there any interest in suporting
> (i.e. maintaining if I contribute a patch) this in stat-time.h?

Sure, might as well.

Do they support st_birthtime with only a 1-second resolution, or
is it really a nanosecond resolution in the header?

> If there is interest in maintaining the feature, how should we handle
> systems (like Linux) where this is not supported?  By having the
> caller of stat-stime.h inline functions check
> HAVE_STRUCT_STAT_ST_BIRTHTIME itself?

That would be easiest to implement, I guess.  It doesn't make much
sense to have a substitute value on platforms where st_birthtime was
not available, so the caller would need to decide what to do.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]