summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-setres_id.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-06-07 23:47:37 +1000
committerColin Watson <cjwatson@debian.org>2019-06-21 16:14:04 +0100
commit61d2706623ed144ee9cbd212d13eeba202a7ce26 (patch)
treec07b6c65fea2b03924749084969fe9ceabed8b12 /openbsd-compat/bsd-setres_id.c
parentf08fbfbaad10ae0bd9f057de8e18071e588146a6 (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 implementations should honour. Inspired by github pull req #125 from chutzpah at gentoo.org. Origin: upstream, https://anongit.mindrot.org/openssh.git/commit/?id=182898192d4b720e4faeafd5b39c2cfb3b92aa21 Last-Update: 2019-06-09 Patch-Name: fix-utimensat-test.patch
Diffstat (limited to 'openbsd-compat/bsd-setres_id.c')
0 files changed, 0 insertions, 0 deletions