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)
commit98401994e4061fc54b2a94fa254a42c9dd01ce3c
tree438ffe1ec71651c6d28353b95737d94ba04296c7
parent1c6985c95d2d33c12ad08e96650afae7818cc07e
utimens.c: correct kernel bug work-around

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.
ChangeLog
lib/utimens.c