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:
parent
227d6626b0
commit
2528eb4776
@ -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.
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user