X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Futimensat.m4;h=1110e07c63fcb5bd46b59a9cc1a2991755ffbac3;hb=32a3eff7f5191d76a82be7db1190a98ed9ef55d0;hp=21e1ea526d805f88f41962caf9ecffc472cab464;hpb=9a669cf64253a2b2149d7f7cc5e0664c1bc7dda9;p=gnulib.git diff --git a/m4/utimensat.m4 b/m4/utimensat.m4 index 21e1ea526..1110e07c6 100644 --- a/m4/utimensat.m4 +++ b/m4/utimensat.m4 @@ -1,7 +1,7 @@ -# serial 2 +# serial 3 # See if we need to provide utimensat 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. @@ -35,10 +35,12 @@ AC_DEFUN([gl_FUNC_UTIMENSAT], if (utimensat (AT_FDCWD, f, ts, 0)) return 4; if (stat (f, &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 utimensat in 2.6.22, but has bugs with UTIME_OMIT - in 2.6.32. Always replace utimensat to support older kernels. */ + in several file systems as recently as 2.6.32. Always replace utimensat + to support older kernels. */ choke me #endif ]])],