Details
Details
- Reviewers
 ldionne - Group Reviewers
 Restricted Project - Commits
 - rG08b4cc5e0d26: [libcxx] Avoid double frees of file descriptors in the fallback…
 
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Event Timeline
Comment Actions
Do I understand this is triggered by the test suite when we build the dylib with _LIBCPP_FILESYSTEM_USE_FSTREAM, and so this doesn't need a test added?
If so, LGTM, otherwise please add a test.
Comment Actions
Indeed, it's triggered by some of the fs.op.copy* tests, but whether the C runtime errors out on it (and how loudly) varies I guess. Afaik most of the actual deployments of libc++ std::fs so far has been using the copyfile/sendfile implementations.