This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/83626] std::experimental::filesystem::remove_all throws exception instead of returning 0 if path doesn't exist


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83626

--- Comment #7 from Andrew Gunnerson <chillermillerlong at hotmail dot com> ---
Regarding the ENOENT fix above, it should no longer be necessary to call
synlink_status() in fs::remove(). All cases are already handled without that
check.

https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libstdc%2B%2B-v3/src/filesystem/ops.cc;h=3690fb94d63d7031dfef08eca17d0ca65a521122;hb=5310392950a93a58fb59a6f659d01137c4b682ec#l1020

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]