1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Properly close files opened by es_fopen.

Allow setting of an empty passphrase.
Assorted W32 changes.
This commit is contained in:
Werner Koch 2007-07-16 09:53:47 +00:00
parent 5f97dd2c44
commit bce4ea798a
9 changed files with 65 additions and 23 deletions

View file

@ -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)
{