Ulrich Drepper 4e82c61025 * intl/tst-gettext3.c: New file.
* intl/tst-gettext3.sh: New file.
	* intl/Makefile (distribute): Add tst-gettext3.sh.
	(test-srcs): Add tst-gettext3.
	(tests): Depend on tst-gettext3.out.
	(tst-gettext3.out): New rule.
	(CFLAGS-tst-gettext3.c): New variable.

	Fix bug exposed by tst-gettext3.
	* intl/gettextP.h (struct converted_domain): New type.
	(struct loaded_domain): Remove the conv, conv_tab fields. Add
	conversions, nconversions fields.
	(_nl_init_domain_conv): Remove declaration.
	(_nl_free_domain_conv): Remove declaration.
	(_nl_find_msg): Add convert argument.
	* intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
	(_nl_find_msg): Add convert argument. When a conversion to a different
	charset is needed, create a new converted_domain element, instead of
	throwing away the old converted translations.
	(get_output_charset): New function.
	* intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
	(_nl_free_domain_conv): Remove function.
	(_nl_load_domain): Initialize the conversions array to empty. Use
	_nl_find_msg instead of _nl_init_domain_conv to retrieve the header
	entry.
	(_nl_unload_domain): Free the conversions array and its contents.

	* intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
	(struct binding): Likewise.
	* intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
	modifications.
2005-04-04 22:37:38 +00:00
..
2005-04-04 22:37:38 +00:00
2007-07-12 18:26:36 +00:00
2005-04-04 22:37:38 +00:00
2002-12-11 22:59:29 +00:00
2002-12-11 22:59:29 +00:00
2002-12-11 22:59:29 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2002-12-11 22:59:29 +00:00
2005-04-04 22:37:38 +00:00
2004-01-14 05:38:11 +00:00
2003-06-11 21:57:23 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-09-26 05:07:13 +00:00
2005-04-04 22:37:38 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2002-12-11 22:59:29 +00:00
2001-11-28 00:09:26 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2003-04-29 22:49:58 +00:00
2003-04-29 22:49:58 +00:00
2002-12-11 22:59:29 +00:00
2000-11-02 07:51:38 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2004-08-15 19:28:54 +00:00
2004-08-15 19:28:54 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2001-04-10 00:15:08 +00:00
2000-10-31 03:10:13 +00:00
2000-10-31 03:10:13 +00:00
2002-05-01 17:09:58 +00:00