summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-12-09 09:58:02 +0100
committerWerner Koch <wk@gnupg.org>2008-12-09 09:58:02 +0100
commit382d2f8efbb31b1eee16c1bbcd521099eb42c622 (patch)
tree514044051e08dcc8906d00ddc89a50053483a25b /tools
parentAlign ticker to the full or half second. (diff)
downloadgnupg2-382d2f8efbb31b1eee16c1bbcd521099eb42c622.tar.xz
gnupg2-382d2f8efbb31b1eee16c1bbcd521099eb42c622.zip
Minor fixes.
Diffstat (limited to 'tools')
-rw-r--r--tools/ChangeLog8
-rw-r--r--tools/gpg-check-pattern.c3
-rw-r--r--tools/gpg-connect-agent.c2
-rw-r--r--tools/gpgconf.c3
-rw-r--r--tools/symcryptrun.c3
5 files changed, 12 insertions, 7 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index b7cd7d53d..c533085d5 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,11 @@
+2008-12-09 Werner Koch <wk@g10code.com>
+
+ * gpg-check-pattern.c (main): Call i18n_init before
+ init_common_subsystems.
+ * gpg-connect-agent.c (main): Ditto.
+ * gpgconf.c (main): Ditto.
+ * symcryptrun.c (main): Ditto.
+
2008-12-08 Werner Koch <wk@g10code.com>
* gpgkey2ssh.c (main): Change order of output for RSA. Change name
diff --git a/tools/gpg-check-pattern.c b/tools/gpg-check-pattern.c
index a2926b951..b29687d37 100644
--- a/tools/gpg-check-pattern.c
+++ b/tools/gpg-check-pattern.c
@@ -168,9 +168,8 @@ main (int argc, char **argv )
log_set_prefix ("gpg-check-pattern", 1);
/* Make sure that our subsystems are ready. */
- init_common_subsystems ();
-
i18n_init ();
+ init_common_subsystems ();
/* We need Libgcrypt for hashing. */
if (!gcry_check_version (NEED_LIBGCRYPT_VERSION) )
diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c
index 92a6e7001..ba97c1a10 100644
--- a/tools/gpg-connect-agent.c
+++ b/tools/gpg-connect-agent.c
@@ -1152,11 +1152,11 @@ main (int argc, char **argv)
log_set_prefix ("gpg-connect-agent", 1);
/* Make sure that our subsystems are ready. */
+ i18n_init();
init_common_subsystems ();
assuan_set_assuan_err_source (0);
- i18n_init();
opt.homedir = default_homedir ();
opt.connect_flags = 1; /* Use extended connect mode. */
diff --git a/tools/gpgconf.c b/tools/gpgconf.c
index 9054e29b3..57ea08b3d 100644
--- a/tools/gpgconf.c
+++ b/tools/gpgconf.c
@@ -147,9 +147,8 @@ main (int argc, char **argv)
log_set_prefix ("gpgconf", 1);
/* Make sure that our subsystems are ready. */
- init_common_subsystems ();
-
i18n_init();
+ init_common_subsystems ();
/* Parse the command line. */
pargs.argc = &argc;
diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c
index e720eab2f..286680496 100644
--- a/tools/symcryptrun.c
+++ b/tools/symcryptrun.c
@@ -884,9 +884,8 @@ main (int argc, char **argv)
log_set_prefix ("symcryptrun", 1);
/* Make sure that our subsystems are ready. */
- init_common_subsystems ();
-
i18n_init();
+ init_common_subsystems ();
opt.homedir = default_homedir ();