mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-13 22:21:09 +02: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>
|
2009-05-19 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* watchgnupg.c: Include jnlib/mischelp.h if required.
|
* watchgnupg.c: Include jnlib/mischelp.h if required.
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
#include "gpgconf.h"
|
#include "gpgconf.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
#include "sysutils.h"
|
||||||
|
|
||||||
/* Constants to identify the commands and options. */
|
/* Constants to identify the commands and options. */
|
||||||
enum cmd_and_opt_values
|
enum cmd_and_opt_values
|
||||||
@ -145,6 +146,7 @@ main (int argc, char **argv)
|
|||||||
enum cmd_and_opt_values cmd = 0;
|
enum cmd_and_opt_values cmd = 0;
|
||||||
FILE *outfp = NULL;
|
FILE *outfp = NULL;
|
||||||
|
|
||||||
|
gnupg_reopen_std ("gpgconf");
|
||||||
set_strusage (my_strusage);
|
set_strusage (my_strusage);
|
||||||
log_set_prefix ("gpgconf", 1);
|
log_set_prefix ("gpgconf", 1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user