[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    Re: [GPGME PATCH] core: Restore get_max_fds optimization on Linux
From:       Daniel Kahn Gillmor <dkg () fifthhorseman ! net>
Date:       2017-10-11 15:40:37
Message-ID: 87k201g0ay.fsf () fifthhorseman ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wed 2017-10-04 18:24:11 +0200, Werner Koch wrote:
> On Sat, 16 Sep 2017 05:16, cjwatson@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

["signature.asc" (application/pgp-signature)]

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic