]> arthur.barton.de Git - bup.git/commit
cmd/xstat: don't report mtime/atime for symlinks if we don't have_ns_timestamps.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Mar 2011 10:53:42 +0000 (03:53 -0700)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Mar 2011 10:56:08 +0000 (03:56 -0700)
commit1de3d16c0bf1ecf22e424bb04561ead40b57e7ab
tree4346f12d01da3dc11ba0c622437850beaa73120a
parente405af9d0b195300ae5f67c2df77d9105a076622
cmd/xstat: don't report mtime/atime for symlinks if we don't have_ns_timestamps.

We can't set the atime/mtime on a symlink anyway if we don't
have_ns_timestamps, which means the values are meaningless.  Report them as
0 in order to avoid triggering a unit test failure.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/xstat-cmd.py