[Pkg-gnupg-commit] [gnupg2] 46/205: common/exechelp: Fix pipe creation.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed May 11 08:38:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit b0125ae9850973b89010517b1dbce04125a51d51
Author: Justus Winter <justus at g10code.com>
Date: Tue Jan 19 12:45:04 2016 +0100
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 at g10code.com>
---
common/exechelp-w32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/exechelp-w32.c b/common/exechelp-w32.c
index bc9b5b4..7439c0b 100644
--- a/common/exechelp-w32.c
+++ b/common/exechelp-w32.c
@@ -383,7 +383,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
*r_errfp = NULL;
*pid = (pid_t)(-1); /* Always required. */
- if (infp)
+ if (r_infp)
{
if (create_inheritable_pipe (inpipe, 0))
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list