[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #17643] Include sys/param.h when testing whether getmntinfo() fills
From: |
Pavel Tsekov |
Subject: |
[bug #17643] Include sys/param.h when testing whether getmntinfo() fills struct statvfs. |
Date: |
Fri, 8 Sep 2006 10:12:23 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060808 Fedora/1.5.0.6-2.fc5 Firefox/1.5.0.6 pango-text |
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/
- [bug #17643] Include sys/param.h when testing whether getmntinfo() fills struct statvfs.,
Pavel Tsekov <=