URL:
<http://savannah.gnu.org/bugs/?17643>
Summary: Include sys/param.h when testing whether
getmntinfo() fills struct statvfs.
Project: GNU Core Utilities
Submitted by: ptsekov
Submitted on: Friday 09/08/2006 at 10:12
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
Hello,
The recent changes with regard to compilation failures in mountlist.c on
NetBSD 3.0 added a new check in ls-mntd-fs.m4. Based on its result either
MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 is defined. MOUNTED_GETMNTINFO2
should be defined only on NetBSD 3.0 but it is erronously define on
FreeBSD 6.x too. The reason for the error is that getmntinfo()
on FreeBSD needs sys/param.h too be included too. I guess that Darwin systems
are also affected but I cannot test . Please,
apply the attached patch or similiar.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 09/08/2006 at 10:12 Name: ls-mntd-fs.patch Size: 578B By:
ptsekov
<http://savannah.gnu.org/bugs/download.php?file_id=10711>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?17643>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/