diff options
author | NIIBE Yutaka <[email protected]> | 2024-06-10 02:54:15 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2024-06-10 02:54:15 +0000 |
commit | 9c347fb9f70838e776d892ff19dc130f985faf0e (patch) | |
tree | d719e441b48be7929328a67b8e64753dd031944b | |
parent | w32: Remove _assuan_system_hooks. (diff) | |
download | libassuan-9c347fb9f70838e776d892ff19dc130f985faf0e.tar.gz libassuan-9c347fb9f70838e776d892ff19dc130f985faf0e.zip |
w32: Fix _assuan_spawn on Windows.
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | src/system.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/system.c b/src/system.c index 0327abf..d687b1b 100644 --- a/src/system.c +++ b/src/system.c @@ -358,9 +358,8 @@ _assuan_spawn (assuan_context_t ctx, const char *name, const char **argv, } #ifdef HAVE_W32_SYSTEM - /*FIXME*/ gpgrt_spawn_actions_set_inherit_handles (act, fd_child_list); - gpgrt_spawn_actions_set_redirect (act, fd_in, fd_out, -1); + gpgrt_spawn_actions_set_redirect (act, fd_in, fd_out, ASSUAN_INVALID_FD); #else gpgrt_spawn_actions_set_inherit_fds (act, fd_child_list); gpgrt_spawn_actions_set_redirect (act, fd_in, fd_out, -1); |