-# serial 2
+# serial 3
# See if we need to provide futimens replacement.
-dnl Copyright (C) 2009 Free Software Foundation, Inc.
+dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
if (fstat (fd, &st)) return 5;
if (st.st_ctime < st.st_atime) return 6;
]])],
+dnl FIXME: simplify this in 2012, when file system bugs are no longer common
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#ifdef __linux__
/* The Linux kernel added futimens in 2.6.22, but has bugs with UTIME_OMIT
- in 2.6.32. Always replace futimens to support older kernels. */
+ in several file systems as recently as 2.6.32. Always replace futimens
+ to support older kernels. */
choke me
#endif
]])],