Commit f144e859 by Paolo Carlini Committed by Paolo Carlini

11305-1: Fix, closely following the testcase included in the PR.

2003-11-13  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
	Fix, closely following the testcase included in the PR.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.

From-SVN: r73548
parent f9af39d0
2003-11-13 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
Fix, closely following the testcase included in the PR.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.
2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/17_intro/configury.html: XHTML tweak.
......
......@@ -32,7 +32,7 @@ void test01()
fb.pubimbue(loc);
fb.pubsetbuf(0, 0);
fb.open("tmp_11305-1", ios_base::out);
wfilebuf::int_type n1 = fb.sputc(L'e');
wfilebuf::int_type n1 = fb.sputc(0x20000000);
wfilebuf* f = fb.close();
VERIFY( n1 != wfilebuf::traits_type::eof() );
......
......@@ -32,8 +32,8 @@ void test02()
fb.pubimbue(loc);
fb.pubsetbuf(0, 0);
fb.open("tmp_11305-2", ios_base::out);
wfilebuf::int_type n1 = fb.sputc(L'n');
wfilebuf::int_type n2 = fb.sputc(L'e');
wfilebuf::int_type n1 = fb.sputc(0x20000000);
wfilebuf::int_type n2 = fb.sputc(0x40000000);
wfilebuf* f = fb.close();
VERIFY( n1 != wfilebuf::traits_type::eof() );
......
......@@ -31,7 +31,7 @@ void test03()
locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
fb.pubimbue(loc);
fb.open("tmp_11305-3", ios_base::out);
wfilebuf::int_type n1 = fb.sputc(L'a');
wfilebuf::int_type n1 = fb.sputc(0x20000000);
wfilebuf* f = fb.close();
VERIFY( n1 != wfilebuf::traits_type::eof() );
......
......@@ -31,8 +31,8 @@ void test04()
locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
fb.pubimbue(loc);
fb.open("tmp_11405-4", ios_base::out);
wfilebuf::int_type n1 = fb.sputc(L'i');
wfilebuf::int_type n2 = fb.sputc(L'a');
wfilebuf::int_type n1 = fb.sputc(0x20000000);
wfilebuf::int_type n2 = fb.sputc(0x40000000);
wfilebuf* f = fb.close();
VERIFY( n1 != wfilebuf::traits_type::eof() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment