(main) <gpgconf>: Use gpg.conf and not /dev/null as

default filename.
This commit is contained in:
Werner Koch 2004-04-30 16:36:36 +00:00
parent 28f89ad245
commit 339f0840e1
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-04-30 Werner Koch <wk@gnupg.org>
* g10.c (main) <gpgconf>: Use gpg.conf and not /dev/null as
default filename.
2004-04-28 Werner Koch <wk@gnupg.org>
* card-util.c (card_edit): Remove PIN verification.

View File

@ -2953,9 +2953,11 @@ main( int argc, char **argv )
a default, which is described by the value of the ARGDEF field. */
#define GC_OPT_FLAG_NO_ARG_DESC (1UL << 6)
if (!config_filename)
config_filename = make_filename (opt.homedir, "gpg.conf", NULL);
printf ("gpgconf-gpg.conf:%lu:\"%s\n",
GC_OPT_FLAG_DEFAULT,
config_filename?config_filename:"/dev/null");
GC_OPT_FLAG_DEFAULT, config_filename);
printf ("verbose:%lu:\n"
"quiet:%lu:\n"