According to documentations, after an fclose call any other stream
operations cause undefined behaviour, regardless if the close failed
or not.
This change adds the check for the opened state before all other
(applicable) operations.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo