diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-06-07 23:47:37 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-06-07 23:47:37 +1000 |
commit | 182898192d4b720e4faeafd5b39c2cfb3b92aa21 (patch) | |
tree | e35fab885749a2c47d3bc01156e36929fa4eb9d3 /serverloop.c | |
parent | d220b675205185e0b4d6b6524acc2e5c599ef0e2 (diff) |
Update utimensat test.
POSIX specifies that when given a symlink, AT_SYMLINK_NOFOLLOW should
update the symlink and not the destination. The compat code doesn't
have a way to do this, so where possible it fails instead of following a
symlink when explicitly asked not to. Instead of checking for an explicit
failure, check that it does not update the destination, which both the
real and compat implmentations should honour.
Inspired by github pull req #125 from chutzpah at gentoo.org.
Diffstat (limited to 'serverloop.c')
0 files changed, 0 insertions, 0 deletions