mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
common/exechelp: Fix pipe creation.
* common/exechelp-w32.c (gnupg_spawn_process): Fix the creation of the input pipe. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
661ba477e0
commit
b0125ae985
@ -383,7 +383,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
|
|||||||
*r_errfp = NULL;
|
*r_errfp = NULL;
|
||||||
*pid = (pid_t)(-1); /* Always required. */
|
*pid = (pid_t)(-1); /* Always required. */
|
||||||
|
|
||||||
if (infp)
|
if (r_infp)
|
||||||
{
|
{
|
||||||
if (create_inheritable_pipe (inpipe, 0))
|
if (create_inheritable_pipe (inpipe, 0))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user