Mercurial > hg > octave-lyh > gnulib-hg
changeset 9092:1bf30bce8081
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.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 13 Jul 2007 14:39:43 +0000 |
parents | d19ce23d01b0 |
children | e34b8d95b259 |
files | ChangeLog m4/fsusage.m4 |
diffstat | 2 files changed, 15 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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+".
--- a/m4/fsusage.m4 +++ b/m4/fsusage.m4 @@ -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 @@ 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,