mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
c9f439efe3
Sync with gnulib c25bdbae48977a527dff69150f59fb0746d31b51: fs usage: check for GNU/Linux statvfs problem dynamically. * src/filemanager/mountlist.c [STAT_STATVFS && __linux__ && (__GLIBC__||__UCLIBC__)]: Define STAT_STATFS2_BSIZE too, since in this case the code now checks dynamically whether statvfs is reliable, falling back on Linux-style statfs otherwise. (statvfs_works): New function, for dynamically testing statvfs. (get_fs_usage) [STAT_STATVFS]: Use it. * src/filemanager/filegui.c (filegui__check_attrs_on_fs): apply the same statvfs_works function. * m4.include/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Remove static check for statvfs on GNU/Linux hosts, since it's now done dynamically. Signed-off-by: Andrew Borodin <aborodin@vmail.ru> |
||
---|---|---|
.. | ||
vfs | ||
ac_onceonly.m4 | ||
ac-glib.m4 | ||
ax_path_lib_pcre.m4 | ||
dx_doxygen.m4 | ||
fstypename.m4 | ||
fsusage.m4 | ||
ls-mntd-fs.m4 | ||
mc-background.m4 | ||
mc-cflags.m4 | ||
mc-check-search-type.m4 | ||
mc-get-fs-info.m4 | ||
mc-tests.m4 | ||
mc-use-termcap.m4 | ||
mc-version.m4 | ||
mc-vfs.m4 | ||
mc-with-screen-ncurses.m4 | ||
mc-with-screen-slang.m4 | ||
mc-with-screen.m4 | ||
mountlist.m4 |