2018-01-05 18:02:18 +00:00
|
|
|
|
2018-01-05 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2018-01-05 21:43:56 +00:00
|
|
|
|
PR libstdc++/83279
|
|
|
|
|
* src/filesystem/std-ops.cc (do_copy_file): Use non-null offset with
|
|
|
|
|
sendfile.
|
|
|
|
|
|
2018-01-05 18:02:18 +00:00
|
|
|
|
PR libstdc++/83626
|
|
|
|
|
* src/filesystem/ops.cc (remove(const path&, error_code&)): Do not
|
|
|
|
|
report an error for ENOENT.
|
|
|
|
|
(remove_all(const path&)): Fix type of result variable.
|
|
|
|
|
(remove_all(const path&, error_code&)): Use non-throwing increment
|
|
|
|
|
for directory iterator. Call POSIX remove directly to avoid redundant
|
|
|
|
|
calls to symlink_status. Do not report errors for ENOENT.
|
|
|
|
|
* src/filesystem/std-ops.cc: Likewise.
|
|
|
|
|
* testsuite/27_io/filesystem/operations/remove_all.cc: Test throwing
|
|
|
|
|
overload.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/remove_all.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2018-01-04 10:21:29 +00:00
|
|
|
|
2018-01-04 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2018-01-04 22:58:59 +00:00
|
|
|
|
PR libstdc++/83626
|
|
|
|
|
* src/filesystem/ops.cc (remove(const path&, error_code&))): Remove
|
|
|
|
|
redundant call to ec.clear().
|
|
|
|
|
(remove_all(const path&, error_code&))): Do not return an error for
|
|
|
|
|
non-existent paths.
|
|
|
|
|
* src/filesystem/std-ops.cc: Likewise.
|
|
|
|
|
* testsuite/27_io/filesystem/operations/remove.cc: New test.
|
|
|
|
|
* testsuite/27_io/filesystem/operations/remove_all.cc: Fix expected
|
|
|
|
|
results for non-existent paths.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/remove.cc: New test.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/remove_all.cc: Fix
|
|
|
|
|
expected results for non-existent paths.
|
|
|
|
|
|
2018-01-04 13:46:22 +00:00
|
|
|
|
* include/bits/fs_ops.h (exists(const path&, error_code&))): Only
|
|
|
|
|
check status_known once.
|
|
|
|
|
* include/experimental/bits/fs_ops.h: Likewise.
|
|
|
|
|
|
2018-01-04 10:21:29 +00:00
|
|
|
|
PR libstdc++/83607
|
|
|
|
|
* include/std/functional (__is_byte_like): New trait.
|
|
|
|
|
(__is_std_equal_to): Remove.
|
|
|
|
|
(__boyer_moore_base_t): Use __is_byte_like instead of
|
|
|
|
|
__is_std_equal_to.
|
|
|
|
|
* include/experimental/functional (__is_std_equal_to): Remove.
|
|
|
|
|
(__boyer_moore_base_t): Use __is_byte_like instead of
|
|
|
|
|
__is_std_equal_to.
|
|
|
|
|
* testsuite/20_util/function_objects/83607.cc: New test.
|
|
|
|
|
|
2018-01-03 22:33:10 +02:00
|
|
|
|
2018-01-03 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Protect optional's deduction guide with the feature macro
|
|
|
|
|
* include/std/optional: Use the feature macro.
|
|
|
|
|
|
2018-01-03 11:03:58 +01:00
|
|
|
|
2018-01-03 Jakub Jelinek <jakub@redhat.com>
|
2015-01-05 13:33:28 +01:00
|
|
|
|
|
|
|
|
|
Update copyright years.
|
2015-01-02 16:50:45 +00:00
|
|
|
|
|
2018-01-03 11:03:58 +01:00
|
|
|
|
Copyright (C) 2018 Free Software Foundation, Inc.
|
2015-01-02 16:50:45 +00:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|