diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-09-29 19:10:50 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-09-29 19:10:50 +0000 |
commit | 441097af93882803bbb3296dd1fdbdd4a7773deb (patch) | |
tree | a221d657b763bcf793ea407fcd8b81d91ac06a5a /intl/loadmsgcat.c | |
parent | 62beba6902f315a14113c26ed3e068342e101399 (diff) | |
download | glibc-441097af93882803bbb3296dd1fdbdd4a7773deb.tar glibc-441097af93882803bbb3296dd1fdbdd4a7773deb.tar.gz glibc-441097af93882803bbb3296dd1fdbdd4a7773deb.tar.bz2 glibc-441097af93882803bbb3296dd1fdbdd4a7773deb.zip |
Updated to fedora-glibc-20070929T1859cvs/fedora-glibc-2_6_90-16
Diffstat (limited to 'intl/loadmsgcat.c')
-rw-r--r-- | intl/loadmsgcat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c index 1c47475ec6..537fd6013c 100644 --- a/intl/loadmsgcat.c +++ b/intl/loadmsgcat.c @@ -1,5 +1,5 @@ /* Load needed message catalogs. - Copyright (C) 1995-2005 Free Software Foundation, Inc. + Copyright (C) 1995-2005, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -1252,6 +1252,7 @@ _nl_load_domain (domain_file, domainbinding) /* No caches of converted translations so far. */ domain->conversions = NULL; domain->nconversions = 0; + __libc_rwlock_init (domain->conversions_lock); /* Get the header entry and look for a plural specification. */ nullentry = _nl_find_msg (domain_file, domainbinding, "", 0, &nullentrylen); @@ -1290,6 +1291,7 @@ _nl_unload_domain (domain) } if (domain->conversions != NULL) free (domain->conversions); + __libc_rwlock_fini (domain->conversions_lock); if (domain->malloced) free (domain->malloced); |