diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-12-20 16:35:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-12-20 16:35:25 +0000 |
commit | aa87e9156d66cfd4848ed7618148ab3018ae69f0 (patch) | |
tree | 8e66a8bb596afee4f7bbbf06acbef5cfd85bc1b4 /iconv | |
parent | 8da21f96b56d22f255d09b9dc62ada7fe8fe03a8 (diff) | |
download | glibc-aa87e9156d66cfd4848ed7618148ab3018ae69f0.tar glibc-aa87e9156d66cfd4848ed7618148ab3018ae69f0.tar.gz glibc-aa87e9156d66cfd4848ed7618148ab3018ae69f0.tar.bz2 glibc-aa87e9156d66cfd4848ed7618148ab3018ae69f0.zip |
* locale/loadlocale.c (_nl_value_types): Mark as const.
* iconv/gconv_conf.c (builtin_aliases): Likewise.
Diffstat (limited to 'iconv')
-rw-r--r-- | iconv/gconv_cache.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/iconv/gconv_cache.c b/iconv/gconv_cache.c index 9b695c377d..9a8a20816c 100644 --- a/iconv/gconv_cache.c +++ b/iconv/gconv_cache.c @@ -1,5 +1,5 @@ /* Cache handling for iconv modules. - Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 2001. @@ -209,7 +209,18 @@ find_module (const char *directory, const char *filename, /* Call the init function. */ if (result->__init_fct != NULL) - status = DL_CALL_FCT (result->__init_fct, (result)); + { + __gconv_init_fct init_fct = result->__init_fct; +#ifdef PTR_DEMANGLE + PTR_DEMANGLE (init_fct); +#endif + status = DL_CALL_FCT (init_fct, (result)); + +#ifdef PTR_MANGLE + if (result->__btowc_fct != NULL) + PTR_MANGLE (result->__btowc_fct); +#endif + } } return status; |