diff options
author | Bruno Haible <bruno@clisp.org> | 2001-04-19 12:35:19 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-04-19 12:35:19 +0000 |
commit | 7e58e3310c464949e2d3ae667fd2285a3ded2a2f (patch) | |
tree | e200d4808cbe45c0ec846a23ce27b8d3d404be9a | |
parent | 683f768b49e98f38004b89a360f68a5f9a6f32f3 (diff) | |
download | external_gettext-7e58e3310c464949e2d3ae667fd2285a3ded2a2f.zip external_gettext-7e58e3310c464949e2d3ae667fd2285a3ded2a2f.tar.gz external_gettext-7e58e3310c464949e2d3ae667fd2285a3ded2a2f.tar.bz2 |
Tweak for older libiconv versions.
-rw-r--r-- | intl/ChangeLog | 5 | ||||
-rw-r--r-- | intl/loadmsgcat.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog index 8d435b9..55d691d 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,8 @@ +2001-04-19 Bruno Haible <haible@clisp.cons.org> + + * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when + the libiconv version is smaller than 1.5. + 2001-04-09 Bruno Haible <haible@clisp.cons.org> * loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined. diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c index d352980..d589243 100644 --- a/intl/loadmsgcat.c +++ b/intl/loadmsgcat.c @@ -288,7 +288,7 @@ _nl_init_domain_conv (domain_file, domain, domainbinding) # else # if HAVE_ICONV /* When using GNU libiconv, we want to use transliteration. */ -# if _LIBICONV_VERSION +# if _LIBICONV_VERSION >= 0x0105 len = strlen (outcharset); { char *tmp = (char *) alloca (len + 10 + 1); @@ -298,7 +298,7 @@ _nl_init_domain_conv (domain_file, domain, domainbinding) } # endif domain->conv = iconv_open (outcharset, charset); -# if _LIBICONV_VERSION +# if _LIBICONV_VERSION >= 0x0105 freea (outcharset); # endif # endif |