gcc/libstdc++-v3/src
Jonathan Wakely 1490525104 libstdc++/70609 fix filesystem::copy()
PR libstdc++/70609
	* src/filesystem/ops.cc (close_fd): New function.
	(do_copy_file): Set permissions before copying file contents. Check
	result of closing file descriptors. Don't copy streambuf when file
	is empty.
	(copy(const path&, const path&, copy_options, error_code&)): Use
	lstat for source file when copy_symlinks is set.
	* testsuite/experimental/filesystem/operations/copy.cc: Test copy().

From-SVN: r235215
2016-04-19 19:02:39 +01:00
..
c++11 Ensure std::thread helpers have internal linkage 2016-04-05 14:35:32 +01:00
c++98 Update copyright years. 2016-01-04 15:30:50 +01:00
filesystem libstdc++/70609 fix filesystem::copy() 2016-04-19 19:02:39 +01:00
shared Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.am Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null. 2016-04-06 15:07:49 +00:00
Makefile.in Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null. 2016-04-06 15:07:49 +00:00