X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffutimens.m4;h=68eaa781cac51afcd035f27a06d3d4ed6864be31;hb=f1195ccd1ee2cd56ed6b82a76fdee8de0c3d78b7;hp=ba5d6b666fba9fbd831cacf00a97852c2e40856f;hpb=9a669cf64253a2b2149d7f7cc5e0664c1bc7dda9;p=gnulib.git diff --git a/m4/futimens.m4 b/m4/futimens.m4 index ba5d6b666..68eaa781c 100644 --- a/m4/futimens.m4 +++ b/m4/futimens.m4 @@ -1,7 +1,7 @@ -# 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. @@ -36,10 +36,12 @@ AC_DEFUN([gl_FUNC_FUTIMENS], 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 ]])],