mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixed segv in gpg-agent (command marktrusted).
Replaced almost all free by xfree. Translation fixes.
This commit is contained in:
parent
3d39dc13d0
commit
138bf2dc15
46 changed files with 194 additions and 114 deletions
|
@ -52,6 +52,7 @@ i18n_switchto_utf8 (void)
|
|||
{
|
||||
#ifdef USE_SIMPLE_GETTEXT
|
||||
gettext_select_utf8 (1);
|
||||
return NULL;
|
||||
#elif defined(ENABLE_NLS)
|
||||
char *orig_codeset = bind_textdomain_codeset (PACKAGE_GT, NULL);
|
||||
# ifdef HAVE_LANGINFO_CODESET
|
||||
|
@ -81,6 +82,7 @@ void
|
|||
i18n_switchback (char *saved_codeset)
|
||||
{
|
||||
#ifdef USE_SIMPLE_GETTEXT
|
||||
(void)saved_codeset;
|
||||
gettext_select_utf8 (0);
|
||||
#elif defined(ENABLE_NLS)
|
||||
if (saved_codeset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue