[GPGME PATCH] core: Restore get_max_fds optimization on Linux
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Oct 11 17:40:37 CEST 2017
On Wed 2017-10-04 18:24:11 +0200, Werner Koch wrote:
> On Sat, 16 Sep 2017 05:16, cjwatson at debian.org said:
>> * src/posix-io.c (get_max_fds): Restore Linux optimization, this time
>> using open/getdents/close rather than opendir/readdir/closedir.
>
> I pushed your patch along with a second one to add a configure option
>
> --disable-linux-getdents
>
> so that it is possible to disable this feature on platforms where we run
> into problems.
I have moved the debian package to using getdents64 instead of getdents,
and it resolves the build problem on arm64 without introducing new
failures on any of the debian platforms. I recommend taking this change
upstream as well.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: </pipermail/gnupg-devel/attachments/20171011/c466df3c/attachment.sig>
More information about the Gnupg-devel
mailing list