mirror of git://git.gnupg.org/gnupg.git
common,w32: Fix use of GNUPG_SPAWN_KEEP_STDERR.
* common/exechelp-w32.c (gnupg_spawn_process): Fix macro.
--
Fixes-commit: 6d6438a361
GnuPG-bug-id: 6961
This commit is contained in:
parent
367ae86019
commit
eaf6a7ab87
|
@ -561,7 +561,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
|
|||
nullhd[1] = ((flags & GNUPG_SPAWN_KEEP_STDOUT)?
|
||||
GetStdHandle (STD_OUTPUT_HANDLE) : w32_open_null (1));
|
||||
if (errpipe[1] == INVALID_HANDLE_VALUE)
|
||||
nullhd[2] = ((flags & GNUPG_SPAWN_KEEP_STDOUT)?
|
||||
nullhd[2] = ((flags & GNUPG_SPAWN_KEEP_STDERR)?
|
||||
GetStdHandle (STD_ERROR_HANDLE) : w32_open_null (1));
|
||||
|
||||
memset (&si, 0, sizeof si);
|
||||
|
|
Loading…
Reference in New Issue