Subject: Re: bug#6816: df bug on 64-bit Solaris (need to use getextmntent)

From: Assaf Gordon <[email-masked]>
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 <[email-masked]>
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