gcc/libstdc++-v3
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
..
config * config/cpu/sh/atomicity.h: Fix typo in comment. 2016-04-18 17:19:25 +01:00
doc Makefile.am (install-freestanding-headers): Add concept_check.h and move.h to the installed headers. 2016-03-23 00:41:52 +00:00
include Add noexcept to Filesystem TS operators 2016-04-19 19:02:32 +01:00
libsupc++ libstdc++/69945 Add __gnu_cxx::__freeres hook 2016-03-24 18:13:40 +00:00
po Update copyright years. 2016-01-04 15:30:50 +01:00
python Update copyright years. 2016-01-04 15:30:50 +01:00
scripts Update copyright years. 2016-01-04 15:30:50 +01:00
src libstdc++/70609 fix filesystem::copy() 2016-04-19 19:02:39 +01:00
testsuite libstdc++/70609 fix filesystem::copy() 2016-04-19 19:02:39 +01:00
acinclude.m4 Restore atomic builtins usage in libstdc++-v3 2016-04-05 20:03:46 +01:00
aclocal.m4 libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00
ChangeLog libstdc++/70609 fix filesystem::copy() 2016-04-19 19:02:39 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013 * ChangeLog-2013: Correct an old entry. 2014-05-26 23:49:19 +02:00
ChangeLog-2014 Rotate libstdc++-v3/ChangeLog 2015-01-02 16:50:36 +00:00
ChangeLog-2015 Update copyright years. 2016-01-04 15:30:50 +01:00
config.h.in Test for C99 stdlib.h functions with -std=c++98 2016-02-04 23:47:21 +00:00
configure Restore atomic builtins usage in libstdc++-v3 2016-04-05 20:03:46 +01:00
configure.ac libstdc++: Make certain exceptions transaction_safe. 2016-01-15 22:42:41 +00:00
configure.host Introduce separate baselines for Solaris 10 and 11+ (PR libstdc++/66006) 2016-01-13 09:48:53 +00:00
crossconfig.m4 Test for __cxa_thread_atexit_impl when cross-compiling libstdc++ for GNU targets. 2015-10-11 23:34:28 +01:00
fragment.am libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
linkage.m4
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.