core: Optimize fork/exec for *BSD and Solaris.
authorWerner Koch <wk@gnupg.org>
Fri, 3 Feb 2017 12:56:23 +0000 (13:56 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 3 Feb 2017 12:56:23 +0000 (13:56 +0100)
commit51bd69f216a9e2930eeba4b5f6c20e952a381720
treeb3cc6bb0af9dd99cfd2573d3b387eed47a34fdea
parent93a59070c699d569d1eac7ba22355fe3f5d10882
core: Optimize fork/exec for *BSD and Solaris.

* configure.ac (closefrom): Add to ac_check_funcs.
* src/posix-io.c (_gpgme_io_spawn): Use closefrom.

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