diff options
author | Mark Johnston <markjdb@gmail.com> | 2024-01-29 03:19:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 09:19:57 +0100 |
commit | 4a39d08908942b2d415db405844cbe4af73e75d4 (patch) | |
tree | 9710c8464b660bc748de126a4b1e0b6ac99d5705 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 4118082f651a05cca258c684ab1199578b57afac (diff) | |
download | llvm-4a39d08908942b2d415db405844cbe4af73e75d4.zip llvm-4a39d08908942b2d415db405844cbe4af73e75d4.tar.gz llvm-4a39d08908942b2d415db405844cbe4af73e75d4.tar.bz2 |
[libc++] Fix filesystem::remove_all() on FreeBSD (#79540)
remove_all_impl() opens the target path with O_NOFOLLOW, which fails if
the target is a symbolic link. On FreeBSD, rather than returning ELOOP,
openat() returns EMLINK. This is unlikely to change for compatibility
reasons, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214633 .
Thus, check for EMLINK as well.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions