diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-03-29 11:21:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-02 15:36:33 +0200 |
commit | 9cc85a4f52147fcdaa4c52a62bcc87bdb267d0a9 (patch) | |
tree | 2645356b8d91631d1b616f14754dea6250b5ca73 /build-aux/guix | |
parent | 7d7067fe15a6dc82068cbafb11846a2de2896a83 (diff) | |
download | guile-9cc85a4f52147fcdaa4c52a62bcc87bdb267d0a9.tar.gz |
Use 'posix_spawn_file_actions_addclosefrom_np' where available.
* configure.ac: Check for 'posix_spawn_file_actions_addclosefrom_np'.
* libguile/posix.c (HAVE_ADDCLOSEFROM): New macro.
(close_inherited_fds): Wrap in #ifdef HAVE_ADDCLOSEFROM.
(do_spawn) [HAVE_ADDCLOSEFROM]: Use 'posix_spawn_file_actions_addclosefrom_np'.
Diffstat (limited to 'build-aux/guix')
0 files changed, 0 insertions, 0 deletions