[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changing language multiple times in one process
From: |
Francis Irving |
Subject: |
Changing language multiple times in one process |
Date: |
Tue, 25 Oct 2005 22:41:47 +0100 |
User-agent: |
Mutt/1.5.9i |
Hello,
I'm using gettext with multiple languages in one process, altering the
LANG environment variable and calling it.
I've discovered a problem with the tsearch code in intl/dcigettext.c.
It caches the results of queries, but does not check against the
language. This means that sometimes you get the results from the wrong
language back again.
This problem manifests itself on FreeBSD, which has tsearch, and not
on Linux, which doesn't by default.
Should this caching code be fixed to work, or be disabled/removed?
Francis
--
"I'll do it, but only if you'll help me do it" -- http://www.pledgebank.com
- Changing language multiple times in one process,
Francis Irving <=