mc/m4.include
Andrew Borodin c9f439efe3 Ticket #2906: crash on Solaris while trying to copy a file.
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>
2012-10-12 14:06:02 +04:00
..
vfs Get rid of obsolete form of AC_CHECK_TYPE macro. 2011-07-07 13:04:00 +04:00
ac_onceonly.m4 Remove autogenerated stuff from git-tracking. 2009-05-07 15:38:06 +03:00
ac-glib.m4 Ticket #2560: get rid of autoconf obsolete macros. 2011-07-07 13:03:21 +04:00
ax_path_lib_pcre.m4 Ticket #2560: get rid of autoconf obsolete macros. 2011-07-07 13:03:21 +04:00
dx_doxygen.m4 Fixed test conditions in m4 files for more compability 2009-07-27 13:49:49 +03:00
fstypename.m4 src/filemanager/mountlist.c and related m4 macros: sync with gnulib. 2011-10-28 11:26:54 +04:00
fsusage.m4 Ticket #2906: crash on Solaris while trying to copy a file. 2012-10-12 14:06:02 +04:00
ls-mntd-fs.m4 src/filemanager/mountlist.c and related m4 macros: sync with gnulib. 2011-10-28 11:26:54 +04:00
mc-background.m4 ./configure: cleanup '--enable-background' option description 2012-06-22 17:18:59 +03:00
mc-cflags.m4 Extended list of GCC warning flags. 2010-12-03 10:59:23 +03:00
mc-check-search-type.m4 Ticket #2560: get rid of autoconf obsolete macros. 2011-07-07 13:03:21 +04:00
mc-get-fs-info.m4 Ticket #2825: obtain FS name from stat info: sync with coreutils. 2012-07-02 20:53:14 +04:00
mc-tests.m4 Ticket #2560: get rid of autoconf obsolete macros. 2011-07-07 13:03:21 +04:00
mc-use-termcap.m4 m4.include/mc-use-termcap.m4: fixed const char* issue which triggers break on -Wall 2009-11-09 13:49:56 +01:00
mc-version.m4 Ticket #1905: fix of version calculation. 2010-01-11 09:36:36 +00:00
mc-vfs.m4 Get rid of obsolete form of AC_CHECK_TYPE macro. 2011-07-07 13:04:00 +04:00
mc-with-screen-ncurses.m4 Cleanup of screen library detection m4 code. 2012-09-06 13:25:02 +04:00
mc-with-screen-slang.m4 Cleanup of screen library detection m4 code. 2012-09-06 13:25:02 +04:00
mc-with-screen.m4 Cleanup of screen library detection m4 code. 2012-09-06 13:25:02 +04:00
mountlist.m4 src/filemanager/mountlist.c and related m4 macros: sync with gnulib. 2011-10-28 11:26:54 +04:00