Home GnuPG

spawn: Use closefrom when available.

Description

spawn: Use closefrom when available.

* configure.ac (AC_CHECK_FUNCS): Check closefrom.
* src/spawn-posix.c [HAVE_CLOSEFROM]: Use closefrom if possible.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>