GNU bug report logs - #6816
df bug on 64-bit Solaris (need to use getextmntent)

Previous Next

Package: coreutils;

Reported by: "Wood, David" <David.Wood <at> deshaw.com>

Date: Fri, 6 Aug 2010 21:28:02 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 6816 <at> debbugs.gnu.org
Cc: "bug-gnulib <at> gnu.org List" <bug-gnulib <at> gnu.org>
Subject: bug#6816: df bug on 64-bit Solaris (need to use getextmntent)
Date: Wed, 10 Oct 2018 11:24:22 -0600
(triaging old bugs)

Hello,

On 15/09/10 04:18 PM, Eric Blake wrote:
> On 08/06/2010 01:56 PM, Wood, David wrote:
>>> From mnttab(4) on Solaris 10:
>>
[...]
>>
>> At this point, me->me_dev contains a wrongly packed (32-bit) device 
>> number, which forces the find_mount_point() code path (causing other 
>> unpleasantries).  The following patch against coreutils v8.5 fixes the 
>> problem:
> 
> Thanks for the report.  Yes, this needs to be folded into gnulib, but it 
> also needs an m4 check for getextmntent, and it would be nice to get by 
> with less in-function #ifdefs.
> 

In 2014 gnulib gained the following commit:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=502809019bd2ca3ce3d041d18c35ce9420eedb72
===
commit 502809019bd2ca3ce3d041d18c35ce9420eedb72
Author: Ben Walton <bdwalton <at> gmail.com>
Date:   Tue Jun 3 23:01:14 2014 +0100

    mountlist: avoid hasmntopt const type warning on solaris
===

Which seems to address a similar issue as this bug ( 
https://bugs.gnu.org/6816 ).

I think recent coreutils build well on 64bit solaris.
If there are no objections I will close this bug in couple of days.

regards,
 - assaf






This bug report was last modified 6 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.