summaryrefslogtreecommitdiff
path: root/m4/utimens.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-23 19:18:27 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-23 19:18:27 +0000
commitb9830cafa127d8a3e072bd1abb90feb9181423f7 (patch)
treed685b570d72657296c19a3f628fb2b795b88b231 /m4/utimens.m4
parentd6ed244c5a34c9a0ec3c6c26586d9279440e7316 (diff)
downloadcoreutils-b9830cafa127d8a3e072bd1abb90feb9181423f7.tar.xz
* lib/utimens.c (futimens): Use futimesat if available.
Prefer it to futimes since it doesn't have the futimes bug. * m4/utimens.m4 (gl_UTIMENS): Check for futimesat.
Diffstat (limited to 'm4/utimens.m4')
-rw-r--r--m4/utimens.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/utimens.m4 b/m4/utimens.m4
index bb446c820..10f682191 100644
--- a/m4/utimens.m4
+++ b/m4/utimens.m4
@@ -13,5 +13,5 @@ AC_DEFUN([gl_UTIMENS],
AC_REQUIRE([gl_FUNC_UTIMES])
AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])
- AC_CHECK_FUNCS_ONCE(futimes)
+ AC_CHECK_FUNCS_ONCE([futimes futimesat])
])