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:
parent
5f97dd2c44
commit
bce4ea798a
9 changed files with 65 additions and 23 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue