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
bitmap_allocator
codecvt
concurrence_lock_error
concurrence_unlock_error
debug_allocator
enc_filebuf
ext_pointer
forced_error
iota
is_heap
is_sorted
malloc_allocator
mt_allocator
new_allocator
numeric_traits
pb_ds Fix Debug Mode test failures 2017-03-23 19:40:41 +00:00
pool_allocator
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
shared_ptr PR79156 fix std::__enable_shared_from_this extension 2017-01-20 00:07:14 +00:00
slist
special_functions
stdio_filebuf PR libstdc++/81751 don't call fflush(NULL) 2017-08-14 13:14:09 +01:00
stdio_sync_filebuf
throw_allocator
throw_value
type_traits
vstring
concept_checks.cc
headers.cc
median.cc
pod_char_traits.cc