df: Don't fail for Tru64's "file-on-file mount".
authorJim Meyering <jim@meyering.net>
Fri, 13 Jul 2007 14:39:43 +0000 (14:39 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 13 Jul 2007 14:39:43 +0000 (14:39 +0000)
* m4/fsusage.m4 (gl_FSUSAGE): Reject Tru64's buggy statvfs,
so we fall through and use statfs instead.  Details here:
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/10878>
Reported by Albert Chin.

ChangeLog
m4/fsusage.m4

index 6c4d01ec73e2ff2d200e99e6a0ec03fc8b0f8442..54cd53848230f8bbac24ac015076bc0ee74a4ddf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-07-13  Jim Meyering  <jim@meyering.net>
+
+       df: Don't fail for Tru64's "file-on-file mount".
+       * m4/fsusage.m4 (gl_FSUSAGE): Reject Tru64's buggy statvfs,
+       so we fall through and use statfs instead.  Details here:
+       <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/10878>
+       Reported by Albert Chin.
+
 2007-07-13  Bruno Haible  <bruno@clisp.org>
 
        * modules/alloca-opt (License): Use the synonymous term "LGPLv2+".
index 08bf06c9abde8ac449cfe1a4d05c3ee4b776ac08..18eedbca5664742ce53e3252134105563b21096d 100644 (file)
@@ -1,8 +1,7 @@
-#serial 22
+#serial 23
 # Obtaining file system usage information.
 
-# Copyright (C) 1997, 1998, 2000, 2001, 2003, 2004, 2005, 2006 Free Software
-# Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2001, 2003-2007 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -55,6 +54,11 @@ one of the corresponding file systems is hard-mounted, but not available.
 statvfs in GNU libc on BeOS operates differently: it only makes a system
 call.
 #endif
+
+#ifdef __osf__
+"Do not use Tru64's statvfs implementation"
+#endif
+
 #include <sys/statvfs.h>],
                              [struct statvfs fsd; statvfs (0, &fsd);],
                              fu_cv_sys_stat_statvfs=yes,