]> arthur.barton.de Git - bup.git/commit - lib/bup/_helpers.c
Test for available nanosecond stat timestamp members.
authorRob Browning <rlb@defaultvalue.org>
Wed, 1 Jun 2011 00:49:32 +0000 (19:49 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 9 Jun 2011 03:12:24 +0000 (23:12 -0400)
commit6e74568a91d2d7e7912ba490a02f972dccfc99f3
tree01666aa6023273602d5534d61968e95b0d375df3
parent2bb72966516763623ea8d906e0657c7733089e3f
Test for available nanosecond stat timestamp members.

Use st_atim, st_mtim, and st_ctim when available, and fall back to
st_atimensec, st_mtimensec, and st_ctimensec.  If neither are
available, return 0 ns values.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
config/configure
lib/bup/_helpers.c