Commit Graph

13 Commits

Author SHA1 Message Date
yamt 6c208635b5 - give the precedence to LC_ALL environment variable
than other LC_* variables.
2002-02-13 08:01:13 +00:00
yamt 7cd60a32fc fix a bug that uninitialised buffer is used when LANG is like "en_US". 2001-12-29 05:54:36 +00:00
yamt 0c36fb1498 allow relative pathnames as a dirname argument of bindtextdomain(3)
since some autoconf configure scripts depends on this behavior.
2001-12-09 11:11:01 +00:00
yamt 782b5c8829 - change mofile search order according to manpage(=li18nux2000).
- there is no need to fail even if strdup for odomainname&ocname were failed.
- don't modify lpath in lookup_mofile since it may used later(copied to olpath)

(sync with citrus)
2001-09-27 15:29:06 +00:00
minoura 3bad25dc55 Sync w/ Citrus.
Do not unmap mo files to make sure the gettext() return values are
valid even when multiple mo files are accessed by turns.
Some applications (GNOME, etc) depends on this behaviour of GNU's
implementation.
2001-02-16 07:20:35 +00:00
minoura b00e307d9c Sync w/ Citrus.
Return NULL when msgid == NULL, per GNU implementation.
2001-02-15 10:48:31 +00:00
itojun 089af300b1 fix mmap() return value validation. comment from freebsd-audit. 2000-12-15 06:37:21 +00:00
itojun 3280f611f6 check strdup failure. reported by freebsd-audit.
sync with citrus.
2000-12-14 02:06:12 +00:00
itojun a09524d498 update bindtextdomain() handling to be conformant to spec. we need to
maintain database for (domain, path).  sync with citrus.
2000-11-03 14:29:22 +00:00
itojun 099fdc2a17 less warnings on lint. be more friendly with align-picky arch. 2000-10-31 16:02:52 +00:00
itojun 78c48ba46f remove confusing goto. sync with citrus 2000-10-31 11:08:18 +00:00
itojun 435b1e303d fix read(2) return value validation. sync with citrus 2000-10-31 11:05:22 +00:00
itojun bb42e65bfe BSD-licensed libintl, fully compatible with GNU libintl (in GNU gettext).
from Citrus project xpg4dl repository.
2000-10-31 10:45:04 +00:00