From 2528eb4776b5b1cad9128e8fde524cb64c70d609 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 8 Jun 2009 08:15:34 +0000 Subject: Help against closed standard descriptors. --- tools/gpgconf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gpgconf.c') diff --git a/tools/gpgconf.c b/tools/gpgconf.c index 6f1fcbb54..1656a402e 100644 --- a/tools/gpgconf.c +++ b/tools/gpgconf.c @@ -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); -- cgit v1.2.3