1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-16 00:29:50 +02:00

2007-05-19 Marcus Brinkmann <marcus@g10code.de>

* passphrase.c (passphrase_get): Use PACKAGE_GT, not PACKAGE.
This commit is contained in:
Marcus Brinkmann 2007-05-18 23:32:51 +00:00
parent b9042f1cec
commit bc078f97a9
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2007-05-19 Marcus Brinkmann <marcus@g10code.de> 2007-05-19 Marcus Brinkmann <marcus@g10code.de>
* passphrase.c (passphrase_get): Use PACKAGE_GT, not PACKAGE.
* passphrase.c (passphrase_get): Free ORIG_CODESET on error. * passphrase.c (passphrase_get): Free ORIG_CODESET on error.
2007-05-16 Werner Koch <wk@g10code.com> 2007-05-16 Werner Koch <wk@g10code.com>

View File

@ -281,7 +281,7 @@ passphrase_get ( u32 *keyid, int mode, const char *cacheid,
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
/* The Assuan agent protocol requires us to transmit utf-8 strings */ /* The Assuan agent protocol requires us to transmit utf-8 strings */
orig_codeset = bind_textdomain_codeset (PACKAGE, NULL); orig_codeset = bind_textdomain_codeset (PACKAGE_GT, NULL);
#ifdef HAVE_LANGINFO_CODESET #ifdef HAVE_LANGINFO_CODESET
if (!orig_codeset) if (!orig_codeset)
orig_codeset = nl_langinfo (CODESET); orig_codeset = nl_langinfo (CODESET);
@ -396,7 +396,7 @@ passphrase_get ( u32 *keyid, int mode, const char *cacheid,
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
if (orig_codeset) if (orig_codeset)
{ {
bind_textdomain_codeset (PACKAGE, orig_codeset); bind_textdomain_codeset (PACKAGE_GT, orig_codeset);
xfree (orig_codeset); xfree (orig_codeset);
} }
#endif #endif