configure test for HAVE_WORKING_UTIMES fails on OS/2 kLIBC. But it is
required.
* lib/utimesns.c (HAVE_WORKING_UTIMES): Define to 1 on OS/2 kLIBC.
Patches from coreutils 8.8 by Paul Smedley.
---
lib/utimens.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/utimens.c b/lib/utimens.c
index dd3ec66..b702913 100644
--- a/lib/utimens.c
+++ b/lib/utimens.c
@@ -156,6 +156,10 @@ update_timespec (struct stat const *statbuf, struct
timespec *ts[2])
return false;
}
+#ifdef __KLIBC__ /* fs doesn't to better than seconds, but we must use
futimes! */
+# define HAVE_WORKING_UTIMES 1
+#endif
+
/* Set the access and modification time stamps of FD (a.k.a. FILE) to be
TIMESPEC[0] and TIMESPEC[1], respectively.
FD must be either negative -- in which case it is ignored --
--
1.8.5.2