bugGNU Core Utilities - Bugs: bug #17643, Include sys/param.h when testing...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17643: Include sys/param.h when testing whether getmntinfo() fills struct statvfs.

Submitter:  Pavel Tsekov <ptsekov>
Submitted:  Fri 08 Sep 2006 07:12:21 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Fri 08 Sep 2006 09:14:14 AM UTC, comment #1: 

Patch applied.  Thanks again.

Jim Meyering <meyering>
Group administrator
Fri 08 Sep 2006 07:12:21 AM UTC, original submission:  

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.

Pavel Tsekov <ptsekov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #10711:  ls-mntd-fs.patch added by ptsekov (578B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-08 meyering StatusNone Fixed
    Open/ClosedOpen Closed
2006-09-08 ptsekov Attached File- Added ls-mntd-fs.patch, #10711

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code