gcc/libstdc++-v3/libio
Benjamin Kosnik ae658d47a4 locale-inst.cc: Add codecvt<unicode_t...
2000-08-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
	__enc_traits> instantiations for has_facet and use_facet.
	* testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
	testing two-byte unicode encodings converted to four-byte UCS4
	encodings.

	* bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
	* testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
	correct state/encoding information.

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
	mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
	now.
	Add checks for langinfo.h, nl_langinfo function call.
	* libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.

From-SVN: r35897
2000-08-22 23:44:23 +00:00
..
_G_config.h acinclude.m4: Tweaks. 2000-07-19 00:57:38 +00:00
ChangeLog locale-inst.cc: Add codecvt<unicode_t... 2000-08-22 23:44:23 +00:00
filedoalloc.c C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
fileops.c C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
genops.c C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
iofclose.c C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
iofopen.c C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
iofwide.c locale-inst.cc: Add codecvt<unicode_t... 2000-08-22 23:44:23 +00:00
iolibio.h Sync libio to glibc-2.2 current CVS. 2000-07-02 02:16:35 +00:00
libio.h C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
libioP.h C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
Makefile.am C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
Makefile.in C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
stdfiles.c acinclude.m4: Tweaks. 2000-07-19 00:57:38 +00:00
stdio.c C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
wfiledoalloc.c fileops.cc: Update to current glibc sources. 2000-08-01 07:44:11 +00:00
wfileops.c C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00
wgenops.c C/C++ io merge/sync. 2000-08-15 07:33:00 +00:00