The fd is opened by std::filebuf, which uses stdio (FILE*). Attempting
to close the fd directly with close() would trigger fdsan.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D137129
[libc++][Android] Avoid triggering fdsan in filebuf test Needs ReviewPublic Authored by rprichard on Oct 31 2022, 3:49 PM.
Revision Contents
Diff 472165 libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/close.pass.cpp
|