utimens.c: correct kernel bug work-around
authorJim Meyering <meyering@redhat.com>
Fri, 6 Jun 2008 16:20:14 +0000 (18:20 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 9 Jun 2008 11:21:46 +0000 (13:21 +0200)
Ondřej Vašík found that the invalid return value of 280 indicates
failure, not success, and the kernel bug we're trying to work
around affects not just the utimensat call, but also the fallback
futimens call.
* lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT]: Simulate failure,
not success.
[HAVE_FUTIMENS]: Use the same work-around, here.


No differences found