[BZ #322]
commitce7265c7438e18f2e4ea81582131a783a1cdd601
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Sep 2004 04:45:24 +0000 (26 04:45 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Sep 2004 04:45:24 +0000 (26 04:45 +0000)
treede765fda756af9cf90b3d7d3c528ac0c11f93de9
parentf6b90f42997f98bdd91dac713d610b66edc55c7c
[BZ #322]

Update.
* intl/dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls.
* intl/dcigettext.c (_nl_find_msg): Call _nl_load_domain also if
decided < 0.
* intl/finddomain.c (_nl_find_domain): Likewise.
* intl/l10nflist.c (_nl_make_l10nflist): Initialize lock.
* intl/loadinfo.h (struct loaded_l10nfile): Add lock element.
* intl/loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we
are done.  First set to -1 to signal initialization is ongoing.
Protect against concurrent callers with recursive lock.
duplicate address recognition does not copy junk.  [BZ #322]
ChangeLog
intl/dcigettext.c
intl/finddomain.c
intl/l10nflist.c
intl/loadinfo.h
intl/loadmsgcat.c