mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
* acinclude.m4 (AC_GET_FS_INFO): Check the return value of getmntinfo()
properly.
This commit is contained in:
parent
e2959bb66a
commit
e599536b2c
@ -1,3 +1,8 @@
|
||||
2006-06-30 Hampa Hug <hampa@hampa.ch>
|
||||
|
||||
* acinclude.m4 (AC_GET_FS_INFO): Check the return value of
|
||||
getmntinfo() properly.
|
||||
|
||||
2006-06-17 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* m4/fstypename.m4: New file.
|
||||
|
@ -306,7 +306,7 @@ first argument (NetBSD 3.0)])
|
||||
main ()
|
||||
{
|
||||
struct statvfs *mntbufp;
|
||||
exit (getmntinfo (&mntbufp, MNT_NOWAIT));
|
||||
exit (getmntinfo (&mntbufp, MNT_NOWAIT) == 0);
|
||||
}],
|
||||
mc_cv_sys_mounted_getmntinfo_statvfs=yes,
|
||||
mc_cv_sys_mounted_getmntinfo_statvfs=no,
|
||||
|
Loading…
Reference in New Issue
Block a user