Do not retry failed close(3) in filesystem::copy
authorJonathan Wakely <jwakely@redhat.com>
Mon, 24 Oct 2016 16:45:40 +0000 (17:45 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 24 Oct 2016 16:45:40 +0000 (17:45 +0100)
commitcfef9c1ea79749cb3fc40b3ef869a29470c6073c
treec119b9f704881041a13c1dedd3ae98ece8579cba
parentb3dec9e57e6960cae54187b7fa416052c8e32e19
Do not retry failed close(3) in filesystem::copy

* src/filesystem/ops.cc (close_fd): Remove.
(do_copy_file): Just use close(3) instead of close_fd, to prevent
retrying on error.

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