mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
common,w32: Fix use of GNUPG_SPAWN_KEEP_STDERR.
* common/exechelp-w32.c (gnupg_spawn_process): Fix macro. -- Fixes-commit: 6d6438a361d25f3b269f702e017f5e39fd1f5c38 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…
x
Reference in New Issue
Block a user