gcc/libstdc++-v3/testsuite/ext
Jonathan Wakely 639c1cfb7d PR libstdc++/81751 don't call fflush(NULL)
Backport from mainline
2017-08-09  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/79820
	PR libstdc++/81751
	* config/io/basic_file_stdio.cc (sys_open(FILE*, ios_base::openmode)):
	Call fflush on the stream instead of calling sync() while _M_cfile is
	null. Restore original value of errno.
	* testsuite/ext/stdio_filebuf/char/79820.cc: New.
	* testsuite/ext/stdio_filebuf/char/81751.cc: New.

From-SVN: r251090
2017-08-14 13:14:09 +01:00
..
array_allocator Update copyright years. 2017-01-01 13:07:43 +01:00
bitmap_allocator Update copyright years. 2017-01-01 13:07:43 +01:00
codecvt Update copyright years. 2017-01-01 13:07:43 +01:00
concurrence_lock_error Update copyright years. 2017-01-01 13:07:43 +01:00
concurrence_unlock_error Update copyright years. 2017-01-01 13:07:43 +01:00
debug_allocator Update copyright years. 2017-01-01 13:07:43 +01:00
enc_filebuf Update copyright years. 2017-01-01 13:07:43 +01:00
ext_pointer Update copyright years. 2017-01-01 13:07:43 +01:00
forced_error Update copyright years. 2017-01-01 13:07:43 +01:00
iota Update copyright years. 2017-01-01 13:07:43 +01:00
is_heap Update copyright years. 2017-01-01 13:07:43 +01:00
is_sorted Update copyright years. 2017-01-01 13:07:43 +01:00
malloc_allocator Update copyright years. 2017-01-01 13:07:43 +01:00
mt_allocator Update copyright years. 2017-01-01 13:07:43 +01:00
new_allocator Update copyright years. 2017-01-01 13:07:43 +01:00
numeric_traits Update copyright years. 2017-01-01 13:07:43 +01:00
pb_ds Fix Debug Mode test failures 2017-03-23 19:40:41 +00:00
pool_allocator Update copyright years. 2017-01-01 13:07:43 +01:00
profile PR78905 define _GLIBCXX_RELEASE macro 2017-01-19 16:40:46 +00:00
random PR69240 Define inequality operators for <random> param types 2017-01-20 15:28:48 +00:00
rope Update copyright years. 2017-01-01 13:07:43 +01:00
shared_ptr PR79156 fix std::__enable_shared_from_this extension 2017-01-20 00:07:14 +00:00
slist Update copyright years. 2017-01-01 13:07:43 +01:00
special_functions Update copyright years. 2017-01-01 13:07:43 +01:00
stdio_filebuf PR libstdc++/81751 don't call fflush(NULL) 2017-08-14 13:14:09 +01:00
stdio_sync_filebuf Update copyright years. 2017-01-01 13:07:43 +01:00
throw_allocator Update copyright years. 2017-01-01 13:07:43 +01:00
throw_value Update copyright years. 2017-01-01 13:07:43 +01:00
type_traits Update copyright years. 2017-01-01 13:07:43 +01:00
vstring Update copyright years. 2017-01-01 13:07:43 +01:00
concept_checks.cc Update copyright years. 2017-01-01 13:07:43 +01:00
headers.cc Update copyright years. 2017-01-01 13:07:43 +01:00
median.cc Update copyright years. 2017-01-01 13:07:43 +01:00
pod_char_traits.cc Update copyright years. 2017-01-01 13:07:43 +01:00