Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 279830
Collapse All | Expand All

(-)m4/fsusage.m4_orig (-7 lines)
Lines 47-59 Link Here
47
  # SVR4
47
  # SVR4
48
  AC_CACHE_CHECK([for statvfs function (SVR4)], [fu_cv_sys_stat_statvfs],
48
  AC_CACHE_CHECK([for statvfs function (SVR4)], [fu_cv_sys_stat_statvfs],
49
		 [AC_TRY_LINK([#include <sys/types.h>
49
		 [AC_TRY_LINK([#include <sys/types.h>
50
#if defined __GLIBC__ && defined __linux__
51
Do not use statvfs on systems with GNU libc on Linux, because that function
52
stats all preceding entries in /proc/mounts, and that makes df hang if even
53
one of the corresponding file systems is hard-mounted, but not available.
54
statvfs in GNU libc on Hurd, BeOS, Haiku operates differently: it only makes
55
a system call.
56
#endif
57
50
58
#ifdef __osf__
51
#ifdef __osf__
59
"Do not use Tru64's statvfs implementation"
52
"Do not use Tru64's statvfs implementation"

Return to bug 279830