Home GnuPG
Diffusion GPGME 4b64774b6d13

core: Support closefrom also for glibc.

Description

core: Support closefrom also for glibc.

* src/posix-io.c (_gpgme_io_spawn): Use glibc's closefrom.

Since 2.34, glibc introduces closefrom (the implementation
follows *BSD standard).

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
Jiri Kucera <sanczes@gmail.com>Authored on Jul 25 2021, 11:35 AM
wernerCommitted on Jul 27 2021, 10:52 AM
Parents
rMa5662a801fc1: core: Ensure gpg.conf for tests is recreated if necessary
Branches
Unknown
Tags
Unknown