diff options
author | NIIBE Yutaka <[email protected]> | 2025-01-08 06:42:12 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2025-01-08 06:42:12 +0000 |
commit | e3e793302b67e37727caf11a868b5b91d7c13f8c (patch) | |
tree | c3dcccaec98f0322acce3f0838b2655ccac6a887 /configure.ac | |
parent | New Windows API gpgrt_w32_reg_get_string. (diff) | |
download | libgpg-error-e3e793302b67e37727caf11a868b5b91d7c13f8c.tar.gz libgpg-error-e3e793302b67e37727caf11a868b5b91d7c13f8c.zip |
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 <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 23d39bb..15f8f23 100644 --- a/configure.ac +++ b/configure.ac @@ -260,7 +260,8 @@ AC_SUBST(INSTALLSHELLPATH) # AC_FUNC_FORK AC_CHECK_FUNCS([flockfile vasprintf mmap rand strlwr stpcpy setenv stat \ - getrlimit getpwnam getpwuid getpwnam_r getpwuid_r inet_pton]) + getrlimit getpwnam getpwuid getpwnam_r getpwuid_r inet_pton \ + closefrom]) # |