gcc/libstdc++-v3/testsuite/27_io
Benjamin Kosnik 112615e7d3 re PR libstdc++/8258 (basic_istream::readsome() with default buffer change stream state to ios_base::eofbit)
2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/8258
	* include/bits/istream.tcc (istream::readsome): Don't set eofbit
	for null buffer.
	(istream::operator>>(_CharT*)): Use traits_type.
	(istream::ws): Same.
	(istream::operator>>(string)): Same.
	* testsuite/27_io/istream_unformatted.cc (test11): Add.

From-SVN: r58840
2002-11-05 23:46:22 +00:00
..
filebuf_members-1.tst filebuf_members.cc: New file. 2000-06-24 00:53:06 +00:00
filebuf_members-1.txt mkcheck.in: Construct file names that match $objdir structure. 2001-01-18 07:24:16 +00:00
filebuf_members.cc stdio_filebuf.h: New file. 2002-04-30 19:04:43 +00:00
filebuf_virtuals-1.tst fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
filebuf_virtuals-1.txt fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
filebuf_virtuals-2.tst fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
filebuf_virtuals-3.tst fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
filebuf_virtuals.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
filebuf.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
fpos.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
fstream_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
fstream.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
ifstream_members-1.tst std_fstream.h: Formatting tweaks. 2000-06-23 22:21:47 +00:00
ifstream_members-1.txt mkcheck.in: Construct file names that match $objdir structure. 2001-01-18 07:24:16 +00:00
ifstream_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ifstream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
instantiations.cc localefwd.h (locale:🆔:_M_id): Do this correctly, as type safety is important, especially on solaris. 2002-04-18 23:47:50 +00:00
ios_base_callbacks.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ios_base_members_static-1.tst mkcheck.in: Construct file names that match $objdir structure. 2001-01-18 07:24:16 +00:00
ios_base_members_static.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ios_base_storage.cc re PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale)) 2002-04-29 07:00:50 +00:00
ios_base_types.cc ios_base_type.cc: Move to... 2002-07-25 07:19:40 +00:00
ios_ctor.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ios_init.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
ios_manip_basefield.cc num_get_members_char.cc (test04): Use a named locale expecting grouping (de_DE). 2002-03-02 21:32:56 +00:00
ios_manip_fmtflags.cc locale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecimals too. 2002-02-28 21:16:45 +00:00
ios_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ios.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
iostream_members.cc fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
iostream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
istream_extractor_arith.cc c_compatibility: New. 2002-06-21 20:21:03 +00:00
istream_extractor_char.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
istream_extractor_other-1.tst
istream_extractor_other-1.txt
istream_extractor_other-2.tst
istream_extractor_other.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
istream_manip.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
istream_seeks-1.tst std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
istream_seeks-1.txt std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
istream_seeks-2.tst std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
istream_seeks-3.tst basic_string.h (string::compare): Adjust signatures as per DR 5. 2001-06-12 02:30:37 +00:00
istream_seeks.cc re PR libstdc++/8348 (fail() flag is set in istringstream when eof() flag is set !) 2002-11-01 05:38:27 +00:00
istream_sentry.cc 2002-05-13 Benjamin Kosnik <bkoz@redhat.com> 2002-05-13 13:58:00 +00:00
istream_unformatted-1.tst std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
istream_unformatted-1.txt std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
istream_unformatted.cc re PR libstdc++/8258 (basic_istream::readsome() with default buffer change stream state to ios_base::eofbit) 2002-11-05 23:46:22 +00:00
istream.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
istringstream_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
istringstream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
narrow_stream_objects.cc istream.tcc (basic_istream::ignore): Use sbumpc, not snextc. 2002-08-09 06:00:46 +00:00
ofstream_members-1.tst std_fstream.h: Formatting tweaks. 2000-06-23 22:21:47 +00:00
ofstream_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ofstream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
ostream_inserter_arith.cc locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision. 2002-03-09 02:01:34 +00:00
ostream_inserter_char-1.tst
ostream_inserter_char-1.txt mkcheck.in: Construct file names that match $objdir structure. 2001-01-18 07:24:16 +00:00
ostream_inserter_char.cc re PR libstdc++/6750 (ofstream incorrectly sets failbit (severe regression)) 2002-05-24 15:50:51 +00:00
ostream_inserter_other-1.tst
ostream_inserter_other-2.tst
ostream_inserter_other.cc PR libstdc++/8071, libstdc++/8127, c++/6745 2002-10-09 06:32:11 +00:00
ostream_manip.cc ostream_manip.cc: Enable test02. 2002-02-02 13:13:00 +00:00
ostream_seeks-1.tst ostream_manip.cc (test02): Add tests. 2000-06-30 02:47:19 +00:00
ostream_seeks.cc fstream.tcc (basic_filebuf::seekoff): Fix for output-only filebufs. 2002-04-23 17:56:10 -04:00
ostream_unformatted.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ostream.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
ostringstream_members.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
ostringstream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
standard_manipulators.cc money_put_members_char.cc: Fix. 2002-02-20 21:06:42 +00:00
streambuf_members.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
streambuf.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
stringbuf_members.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
stringbuf_virtuals.cc fstream.tcc (filebuf::seekpos): Fix. 2002-04-09 06:14:32 +00:00
stringbuf.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
stringstream_members.cc re PR libstdc++/8466 (basic_stringbuf::str(basic_string const&) modifies its argument) 2002-11-05 23:28:15 +00:00
stringstream.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
wide_stream_objects.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00