tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Is statfs() still supposed to be in libc?



On 28.03.2018 00:01, Patrick Welche wrote:
> On Tue, Mar 27, 2018 at 10:29:18AM -0500, Jason Bacon wrote:
>>
>> While upgrading ncbi-blast+, I looked deeper into a workaround for a
>> statfs() issue.  The blast configure script incorrectly determines that
>> statfs() is supported on NetBSD, when in reality is was deprecated and
>> removed from the API a long time ago, superseded by statvfs().
>>
>> However, the statfs() function is still in libc and this is all the
>> configure script checks for.
>>
>> Is statfs() still needed internally, or should it be removed from libc at
>> this point?
> 
> If the configure script is a real autoconf script, maybe this might help?
> 
> https://gitlab.gnome.org/GNOME/glib/commit/afa82ae805f9c8bb875a3f863a7b4669953f159f
> 
> 
> Cheers,
> 
> Patrick
> 

This is something we might just want to do on a per-OS basis, NetBSD is
a rare OS using POSIX interface here, while it's not true for others
(notably Linux).

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index