gcc/libstdc++-v3/config
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
..
abi baseline_symbols.txt: Update. 2017-06-21 17:17:28 +02:00
allocator Update copyright years. 2017-01-01 13:07:43 +01:00
cpu Update copyright years. 2017-01-01 13:07:43 +01:00
io PR libstdc++/81751 don't call fflush(NULL) 2017-08-14 13:14:09 +01:00
locale Update copyright years. 2017-01-01 13:07:43 +01:00
os Update copyright years. 2017-01-01 13:07:43 +01:00