gcc/libstdc++-v3/testsuite/27_io/basic_ostream
Paolo Carlini 1e64c2fc32 re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument)
2003-06-05  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/11095
	* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
	Deal with width() smaller than zero.
	* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
	operator<<(basic_ostream&, char), operator<<(basic_ostream&,
	const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
	const char*), operator<<(basic_ostream<char, _Traits>&,
	const char*), operator<<(basic_ostream, const basic_string&)): Likewise.
	* testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
	* testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
	* testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
	* testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc:
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc:
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc:
	New.

From-SVN: r67518
2003-06-05 23:25:05 +00:00
..
cons/char Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
endl/char Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
ends/char Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
exceptions/char Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
flush/char Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
inserters_arithmetic re PR libstdc++/9555 (ostream inserters fail to set badbit on exception) 2003-04-18 03:46:44 +00:00
inserters_character re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument) 2003-06-05 23:25:05 +00:00
inserters_other/char re PR libstdc++/9555 (ostream inserters fail to set badbit on exception) 2003-04-18 03:46:44 +00:00
sentry/char std_fstream.h (_S_pback_size): Remove definition. 2003-05-22 22:16:41 +00:00
tellp/char Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
1.cc Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
2.cc Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
3.cc 3.cc: _S_pback_size now belongs to basic_filebuf. 2003-04-23 22:34:51 +00:00
4.cc Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00