summaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics/sleep.c
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-05 18:02:18 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-05 18:02:18 +0000
commit5310392950a93a58fb59a6f659d01137c4b682ec (patch)
tree3ed7c9569ed1cbe6f874fc17ea1c273eefa56808 /libgfortran/intrinsics/sleep.c
parente6ece981d1c67e546251b3af1ead9e04ca3cdb45 (diff)
downloadgcc-5310392950a93a58fb59a6f659d01137c4b682ec.tar.gz
PR libstdc++/83626 handle ENOENT due to filesystem race
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256283 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/intrinsics/sleep.c')
0 files changed, 0 insertions, 0 deletions