aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-07-16 09:53:47 +0000
committerWerner Koch <[email protected]>2007-07-16 09:53:47 +0000
commitbce4ea798a87ee7f8f9ea3a930c3e53a321a8622 (patch)
tree0bc6721aca978df8abb44686daa5c81b98f6d69c /common/exechelp.c
parentTranslate all file descriptors received from assuan. (diff)
downloadgnupg-bce4ea798a87ee7f8f9ea3a930c3e53a321a8622.tar.gz
gnupg-bce4ea798a87ee7f8f9ea3a930c3e53a321a8622.zip
Properly close files opened by es_fopen.
Allow setting of an empty passphrase. Assorted W32 changes.
Diffstat (limited to 'common/exechelp.c')
-rw-r--r--common/exechelp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/exechelp.c b/common/exechelp.c
index 44e6e837d..6883c2aa4 100644
--- a/common/exechelp.c
+++ b/common/exechelp.c
@@ -358,10 +358,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
if (x == -1)
log_error ("failed to translate osfhandle %p\n", (void*)rp[0] );
else
- {
- log_debug ("_open_osfhandle %p yields %d\n", (void*)fd, x );
- *statusfile = fdopen (x, "r");
- }
+ *statusfile = fdopen (x, "r");
}
if (!*statusfile)
{