gcc/libstdc++-v3/testsuite/27_io
Loren J. Rittle 9385d9cb0d std_fstream.h (basic_filebuf::sync): Hoist unconditional flush on lower-layer handle to here...
* include/std/std_fstream.h (basic_filebuf::sync): Hoist
	unconditional flush on lower-layer handle to here...
	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
	...from here.  Optimize remaining _M_file.sync() call pattern.
	* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
	(test05): Likewise.

From-SVN: r52699
2002-04-24 00:33:28 +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 re PR libstdc++/4164 (33 Memory Leak when using iostream) 2002-04-16 00:45:36 +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 re PR libstdc++/4150 (catastrophic performance decrease in C++ code) 2002-04-22 16:28:05 -04:00
filebuf.cc fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +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
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
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 basic_ios.h (basic_ios::_M_exception): Move. 2002-04-01 18:39:37 +00:00
ios_ctor.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ios_init.cc As per DR 184, libstdc++/3139 2002-04-04 05:32:59 +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
iostream_members.cc fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
iostream.cc fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
istream_extractor_arith.cc Ross Smith <r-smith@ihug.co.nz> Paolo Carlini <pcarlini@unitus.it> 2001-12-12 20:23:30 +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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
istream_extractor_other-1.txt libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
istream_extractor_other-2.tst libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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++/6414 (g++ 3.1 tellg() regression within last week) 2002-04-23 17:01:22 -04:00
istream_sentry.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +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 istream.tcc (istream::read): Fix. 2002-04-22 19:10:02 +00:00
istream.cc fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
istringstream_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
narrow_stream_objects.cc std_fstream.h (basic_filebuf::sync): Hoist unconditional flush on lower-layer handle to here... 2002-04-24 00:33:28 +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
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 ostream_inserter_char.cc (test07): New. 2002-01-25 06:36:32 +00:00
ostream_inserter_other-1.tst libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
ostream_inserter_other-2.tst libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
ostream_inserter_other.cc ios_manip_basefield.cc: Enable test02. 2002-01-23 01:12:10 +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 fstream.tcc (filebuf::close()): Fix close for input streams. 2002-01-26 01:55:09 +00:00
ostringstream_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
standard_manipulators.cc money_put_members_char.cc: Fix. 2002-02-20 21:06:42 +00:00
streambuf.cc ostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte. 2002-03-28 03:15:08 +00:00
stringbuf_virtuals.cc fstream.tcc (filebuf::seekpos): Fix. 2002-04-09 06:14:32 +00:00
stringbuf.cc std_sstream.h: Remove trailing spaces. 2002-03-03 17:48:42 +00:00
stringstream_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
stringstream.cc signbitl.c: Copyright years as list, not range. 2002-01-16 19:57:39 +00:00
wide_stream_objects.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00