From be2f25862b484e3112241bc345967ab8bc128265 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 8 Jul 2012 11:34:06 +0400 Subject: [PATCH] Sync with gnulib 2ab2617ee340ff35a9a4c713004fb302868d41b0 * src/filemanager/mountlist.c [STAT_STATVFS && (__linux__ && (__GLIBC__||__UCLIBC__))]: Undefine STAT_STATFS2_FRSIZE to exclude code not used in this case. Signed-off-by: Andrew Borodin --- src/filemanager/mountlist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/filemanager/mountlist.c b/src/filemanager/mountlist.c index 739ff7f9e..de3411f9a 100644 --- a/src/filemanager/mountlist.c +++ b/src/filemanager/mountlist.c @@ -276,6 +276,8 @@ me_remote (char const *fs_name, char const *fs_type _GL_UNUSED) preceding entries in /proc/mounts; that makes df hang if even one of the corresponding file systems is hard-mounted but not available. */ # if ! (__linux__ && (__GLIBC__ || __UCLIBC__)) +/* The FRSIZE fallback is not required in this case. */ +#undef STAT_STATFS2_FRSIZE static int statvfs_works (void) { -- 2.11.4.GIT