mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Tweak the spawn API, again for POSIX.
-- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
60b6cfe71f
commit
b35c3980c1
3 changed files with 14 additions and 14 deletions
|
@ -301,13 +301,12 @@ copy_buffer_flush (struct copy_buffer *c, estream_t sink)
|
|||
}
|
||||
|
||||
|
||||
static int
|
||||
static void
|
||||
setup_close_all (struct spawn_cb_arg *sca)
|
||||
{
|
||||
int *user_except = sca->arg;
|
||||
|
||||
sca->except_fds = user_except;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Run the program PGMNAME with the command line arguments given in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue