[libcxx-commits] [libcxx] [libc++] Fix filesystem::remove_all() on FreeBSD (PR #79540)

Jonathan Wakely via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 10 04:56:23 PDT 2024


jwakely wrote:

FWIW while handling `EMLINK` in libstdc++ I discovered that NetBSD sets its non-standard `EFTYPE` error for the "openat with O_NOFOLLOW meets a symlink" case.

DragonFly matches FreeBSD, so the current libc++ code should handle that already.

[NetBSD 10.0 `openat`(2)](https://man.freebsd.org/cgi/man.cgi?query=openat&apropos=0&sektion=0&manpath=NetBSD+10.0&arch=default&format=html#ERRORS)

[DragonFly 6.4 `openat`(2)](https://man.freebsd.org/cgi/man.cgi?query=openat&apropos=0&sektion=0&manpath=DragonFly+6.4.0&arch=default&format=html#ERRORS)

https://github.com/llvm/llvm-project/pull/79540


More information about the libcxx-commits mailing list