gcc/libstdc++-v3/testsuite/27_io
Paolo Carlini f7e70401d4 re PR libstdc++/10097 (filebuf::underflow drops characters.)
2003-03-17  Paolo Carlini  <pcarlini@unitus.it>
	    Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/10097
	* src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
	basic_filebuf<wchar_t>::_M_underflow_common):
	if (gptr() < egptr()) return *gptr().
	* testsuite/27_io/filebuf_virtuals.cc (test16): Add.

	* testsuite/27_io/filebuf_members.cc (test_04): Minor
	changes: unlink fifo before making it, fix spelling error.

Co-Authored-By: Petur Runolfsson <peturr02@ru.is>

From-SVN: r64509
2003-03-17 23:50:40 +00:00
..
istream_extractor_arith libstdc++-v3-dg.exp (libstdc++-v3-init, [...]): Additionally handle files one level deeper in glob patterns. 2003-01-06 14:16:00 +00:00
filebuf_members-1.tst
filebuf_members-1.txt
filebuf_members.cc re PR libstdc++/10097 (filebuf::underflow drops characters.) 2003-03-17 23:50:40 +00:00
filebuf_virtuals-1.tst
filebuf_virtuals-1.txt
filebuf_virtuals-2.tst
filebuf_virtuals-3.tst
filebuf_virtuals.cc re PR libstdc++/10097 (filebuf::underflow drops characters.) 2003-03-17 23:50:40 +00:00
filebuf.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
fpos.cc
fstream_members.cc
fstream.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
ifstream_members-1.tst
ifstream_members-1.txt
ifstream_members.cc
ifstream.cc
instantiations.cc
ios_base_callbacks.cc
ios_base_members_static-1.tst
ios_base_members_static.cc
ios_base_storage.cc ios_base_storage.cc (test02): Set exception mask. 2003-03-06 22:37:01 +00:00
ios_base_types.cc
ios_ctor.cc
ios_init.cc
ios_manip_basefield.cc
ios_manip_fmtflags.cc
ios_members.cc c_locale.cc (locale::facet::_S_create_c_locale): Throw runtime exception when unsupported language is specified. 2003-03-08 08:55:54 +00:00
ios.cc
iostream_members.cc
iostream.cc
istream_exception.cc [multiple changes] 2003-03-15 04:53:52 +00:00
istream_extractor_char.cc
istream_extractor_other-1.tst
istream_extractor_other-1.txt
istream_extractor_other-2.tst
istream_extractor_other.cc
istream_manip.cc
istream_seeks-1.tst
istream_seeks-1.txt
istream_seeks-2.tst
istream_seeks-3.tst
istream_seeks.cc
istream_sentry.cc re PR libstdc++/9562 (ostream::sentry::operator bool () should be const) 2003-02-07 00:26:44 +00:00
istream_unformatted-1.tst
istream_unformatted-1.txt
istream_unformatted.cc re PR libstdc++/6746 (ifstream::readsome() always returns zero) 2002-11-11 23:18:05 +00:00
istream.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
istringstream_members.cc
istringstream.cc
narrow_stream_objects.cc re PR libstdc++/7744 (streambuf::in_avail() always returns 0 (zero) for cin input stream) 2003-03-09 22:31:45 +00:00
ofstream_members-1.tst
ofstream_members.cc
ofstream.cc
ostream_exception.cc re PR libstdc++/9561 (ostream inserters rethrow exception of wrong type) 2003-03-09 04:19:52 +00:00
ostream_fail.cc streambuf_iterator.h (_M_put): Set _M_failed if sputn fails. 2003-03-07 14:14:11 +00:00
ostream_inserter_arith.cc [multiple changes] 2003-03-15 04:53:52 +00:00
ostream_inserter_char-1.tst
ostream_inserter_char-1.txt
ostream_inserter_char.cc
ostream_inserter_other-1.tst
ostream_inserter_other-2.tst
ostream_inserter_other.cc streambuf.tcc (__copy_streambufs): verify __sbin->gptr() + __bufsize < __sbin->egptr() before using. 2002-11-18 22:42:35 +00:00
ostream_manip.cc
ostream_seeks-1.tst
ostream_seeks.cc
ostream_sentry.cc re PR libstdc++/9563 (ostream::sentry returns true after a failed preparation) 2003-02-12 19:39:19 +00:00
ostream_unformatted.cc
ostream.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
ostringstream_members.cc
ostringstream.cc
standard_manipulators.cc
streambuf_members.cc c_locale.cc (locale::facet::_S_create_c_locale): Throw runtime exception when unsupported language is specified. 2003-03-08 08:55:54 +00:00
streambuf.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
stringbuf_members.cc std_sstream.h (str()): the size of the current string may be different from the initial one whenever... 2003-02-18 23:26:32 +00:00
stringbuf_virtuals.cc [multiple changes] 2003-03-15 04:53:52 +00:00
stringbuf.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +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 re PR libstdc++/9182 (basic_filebuf<> does not report errors in codecvt<>::out) 2003-03-07 22:06:28 +00:00
wide_stream_objects.cc