From bce4ea798a87ee7f8f9ea3a930c3e53a321a8622 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 16 Jul 2007 09:53:47 +0000 Subject: Properly close files opened by es_fopen. Allow setting of an empty passphrase. Assorted W32 changes. --- common/exechelp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'common/exechelp.c') 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) { -- cgit