stat-time: get_stat_birthtime failure is better-defined
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jun 2011 23:01:33 +0000 (16:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jun 2011 23:01:33 +0000 (16:01 -0700)
commite42a3db8aafb8bf431024c542a0c884059b97675
treeae85086a27fa9620c626c871d708aed81ad8b550
parent4018d9e0e5fcaf2a7ee10309a49adc9364f67561
stat-time: get_stat_birthtime failure is better-defined

* lib/stat-time.h (get_stat_birthtime): If the time is not available,
return a timestamp whose tv_sec and tv_nsec values are both -1.
Previously, the spec said only that the tv_nsec value was negative.
This upward-compatible change simplifies GNU tar a bit.
ChangeLog
lib/stat-time.h