Commit Graph

14 Commits

Author SHA1 Message Date
christos 5297022a79 Patch from William Orr in tech-userlevel:
- Added most *p*gettext functions
- Added basic function to concat msgctxt and msgid
- Simplify free handling

Need to write tests.
2015-05-29 12:26:28 +00:00
matt e1a2f47f12 Use C89 function definition 2012-03-21 10:10:36 +00:00
junyoung 4271bf2ec5 Massive cosmetic changes, notably:
* ANSIfy
 * De-__P
 * u_intXX_t -> uintXX_t
 * Remove "extern" from function prototypes
2007-09-25 08:19:09 +00:00
tshiozak 29be49b448 - add hash table support.
- make use of __UNCONST() instead of LINTED.
2004-09-23 16:44:26 +00:00
yamt f3ec2d5725 implement gettext implicit iconv and bind_textdomain_codeset. 2004-01-18 08:40:40 +00:00
itojun 8047470762 sys/types.h is not needed here. kevlo@openbsd 2004-01-05 19:21:00 +00:00
drochner e0fb4a2b6b -in bindtextdomain(), don't crash if a NULL dirname is passed - return the
current path setting in this case (or default)
-fix return value
-don't copy a string to itself
2003-04-09 14:11:33 +00:00
lukem 2c76065bf9 enable __RCSID() (no need to protect in LIBC_SCCS or !__lint) 2003-03-09 01:02:34 +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
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
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 4dd96530bc make the following behavior compatible with GNU gettext.
bindtextdomain(foo, path)
	textdomain(foo)
and message file is found under "path" only.  sync with citrus.
2000-11-01 03:39:21 +00:00
itojun 0ad204abb5 fix default domain name handling. why textdomain() and bindtextdomain()
behaves so different?  sync with citrus.
2000-10-31 15:23:04 +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