"James Youngman" <[EMAIL PROTECTED]> 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.