summaryrefslogtreecommitdiff
path: root/m4/fcntl_h.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/fcntl_h.m4')
-rw-r--r--m4/fcntl_h.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/fcntl_h.m4 b/m4/fcntl_h.m4
index fe7dffdaa0..9846b2f313 100644
--- a/m4/fcntl_h.m4
+++ b/m4/fcntl_h.m4
@@ -46,8 +46,7 @@ AC_DEFUN([gl_FCNTL_H],
|| read (fd, &c, 1) != 1
|| close (fd) != 0
|| stat (file, &st1) != 0
- || st1.st_mtime <= st0.st_mtime
- || close (fd) != 0)
+ || st0.st_atime != st1.st_atime)
status |= 64;
}
return status;]])],