X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Futimes.m4;h=c36135785e67ba18991a1bca69d48d114efa3e5c;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=81865cb5a285107f577e7f6c7096658b4c10e695;hpb=a121cabf70b992c7b2a2e49a27b059aac9987a10;p=gnulib.git diff --git a/m4/utimes.m4 b/m4/utimes.m4 index 81865cb5a..c36135785 100644 --- a/m4/utimes.m4 +++ b/m4/utimes.m4 @@ -1,7 +1,7 @@ # Detect some bugs in glibc's implementation of utimes. # serial 3 -dnl Copyright (C) 2003-2005, 2009-2010 Free Software Foundation, Inc. +dnl Copyright (C) 2003-2005, 2009-2014 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. @@ -96,13 +96,11 @@ main () result |= 1; else { - int a_ok_POSIX = inorder (t0, st1.st_atime, t2); int m_ok_POSIX = inorder (t0, st1.st_mtime, t2); - int a_ok_NFS = inorder (st0.st_mtime, st1.st_atime, st2.st_mtime); int m_ok_NFS = inorder (st0.st_mtime, st1.st_mtime, st2.st_mtime); - if (! ((a_ok_POSIX || a_ok_NFS) && st1.st_atime == st1.st_mtime)) + if (! (st1.st_atime == st1.st_mtime)) result |= 16; - if (! (a_ok_POSIX ? m_ok_POSIX : m_ok_NFS)) + if (! (m_ok_POSIX || m_ok_NFS)) result |= 32; } if (close (fd) != 0)