1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Help against closed standard descriptors.

This commit is contained in:
Werner Koch 2009-06-08 08:15:34 +00:00
parent 227d6626b0
commit 2528eb4776
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2009-06-08 Werner Koch <wk@g10code.com>
* gpgconf.c (main): Call gnupg_reopen_std. Should fix bug#1072.
2009-05-19 Werner Koch <wk@g10code.com>
* watchgnupg.c: Include jnlib/mischelp.h if required.

View File

@ -25,6 +25,7 @@
#include "gpgconf.h"
#include "i18n.h"
#include "sysutils.h"
/* Constants to identify the commands and options. */
enum cmd_and_opt_values
@ -145,6 +146,7 @@ main (int argc, char **argv)
enum cmd_and_opt_values cmd = 0;
FILE *outfp = NULL;
gnupg_reopen_std ("gpgconf");
set_strusage (my_strusage);
log_set_prefix ("gpgconf", 1);