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. From-SVN: r256283
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| absolute.cc | Loading commit data... | |
| canonical.cc | Loading commit data... | |
| copy.cc | Loading commit data... | |
| copy_file.cc | Loading commit data... | |
| create_directories.cc | Loading commit data... | |
| create_directory.cc | Loading commit data... | |
| create_symlink.cc | Loading commit data... | |
| current_path.cc | Loading commit data... | |
| equivalent.cc | Loading commit data... | |
| exists.cc | Loading commit data... | |
| file_size.cc | Loading commit data... | |
| is_empty.cc | Loading commit data... | |
| last_write_time.cc | Loading commit data... | |
| permissions.cc | Loading commit data... | |
| read_symlink.cc | Loading commit data... | |
| remove.cc | Loading commit data... | |
| remove_all.cc | Loading commit data... | |
| status.cc | Loading commit data... | |
| temp_directory_path.cc | Loading commit data... |