From: simon Date: Fri, 21 Nov 2008 18:57:06 +0000 (+0000) Subject: The magic-Linux-syscall branch of the #if in this module is only X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/commitdiff_plain/b5af45d3e37e570183ff09f40c4e8ef09241ade2 The magic-Linux-syscall branch of the #if in this module is only worth using at all if we have O_NOATIME to use with it, which it turns out some (old) Linuxes don't. Make the #if more reluctant to use that branch, therefore. git-svn-id: svn://svn.tartarus.org/sgt/agedu@8308 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/du.c b/du.c index e49b0d3..8028432 100644 --- a/du.c +++ b/du.c @@ -6,7 +6,7 @@ #include "du.h" #include "alloc.h" -#if !defined __linux__ || defined HAVE_FDOPENDIR +#if !defined __linux__ || !defined O_NOATIME || defined HAVE_FDOPENDIR #ifdef HAVE_DIRENT_H # include