core: Allow disabling the use of SYS_getdents for Linux.
authorWerner Koch <wk@gnupg.org>
Wed, 4 Oct 2017 16:03:54 +0000 (18:03 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 4 Oct 2017 16:03:54 +0000 (18:03 +0200)
commit4632adf403611b50be2b4e852a4607070935d0e5
treeb576f31962affbdb3d53106deeba629a61024ebf
parentb5b996b1a142abb90296f5feadf0b5b19c59f738
core: Allow disabling the use of SYS_getdents for Linux.

* configure.ac (USE_LINUX_GETDENTS): New ac_define.  Add option
--disable-linux-getdents.
* src/posix-io.c: Make use of USE_LINUX_GETDENTS.

Signed-off-by: Werner Koch <wk@gnupg.org>
configure.ac
src/posix-io.c