]> git.ipfire.org Git - thirdparty/gcc.git/commit
ops.cc: Always include ostream and ext/stdio_filebuf.h.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 15 Aug 2016 11:40:37 +0000 (13:40 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 15 Aug 2016 11:40:37 +0000 (13:40 +0200)
commit0657379e3b391dad8c337468fd065e2e583189fd
treebe8eef3516f748085532c3452cfdfe8e9ce062ab
parent2e6fc1acd0aabb97d68c944650284ea08e87c92f
ops.cc: Always include ostream and ext/stdio_filebuf.h.

* src/filesystem/ops.cc: Always include ostream and
ext/stdio_filebuf.h.
(do_copy_file): Check if _GLIBCXX_USE_FCHMODAT is defined.
[_GLIBCXX_USE_SENDFILE]: Fallback to read/write operations in case
sendfile fails with ENOSYS or EINVAL.

From-SVN: r239479
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/ops.cc