aboutsummaryrefslogtreecommitdiff
path: root/intl/finddomain.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-08-06 18:32:16 +0000
committerUlrich Drepper <drepper@redhat.com>2004-08-06 18:32:16 +0000
commit9e365fe71070d133f1cd7711c1697adefc84527c (patch)
treeddf1999428f9814b69c04b8f122d67401c47e9f3 /intl/finddomain.c
parent9030e7c44aa75345336673c0252974ead4eb8364 (diff)
downloadglibc-9e365fe71070d133f1cd7711c1697adefc84527c.zip
glibc-9e365fe71070d133f1cd7711c1697adefc84527c.tar.gz
glibc-9e365fe71070d133f1cd7711c1697adefc84527c.tar.bz2
Update.
2004-08-06 Ulrich Drepper <drepper@redhat.com> * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo. Reported by Paolo Bonzini. 2004-08-06 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add always_inline. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup, elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise. * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h before including linux/atalk.h. * resolv/res_libc.c: Include atomic.h. * intl/finddomain.c (free_mem): Rename to... (_nl_finddomain_subfreeres): ... this. Add __libc_freeres_fn_section. * intl/loadmsgcat.c (_nl_unload_domain): Add __libc_freeres_fn_section. * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC. Add attribute_hidden. (_nl_findomain_subfreeres): New prototype. * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r--intl/finddomain.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c
index 1031e4d..6988d9e 100644
--- a/intl/finddomain.c
+++ b/intl/finddomain.c
@@ -1,5 +1,6 @@
/* Handle list of needed message catalogs
- Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2000, 2001, 2002, 2004
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Ulrich Drepper <drepper@gnu.org>, 1995.
@@ -168,7 +169,10 @@ _nl_find_domain (dirname, locale, domainname, domainbinding)
#ifdef _LIBC
-libc_freeres_fn (free_mem)
+/* This is called from iconv/gconv_db.c's free_mem, as locales must
+ be freed before freeing gconv steps arrays. */
+void __libc_freeres_fn_section
+_nl_finddomain_subfreeres ()
{
struct loaded_l10nfile *runp = _nl_loaded_domains;