It turns out that unformatted fixed-size output records
do need to be padded out if short, in order to avoid a
spurious EOF crash reading a short record at the end of the file.
While here in AdvanceRecord(), move the unformatted
variable-length record header/footer writing code to here
from EndIoStatement().
Details
Details
- Reviewers
schweitz jdoerfert - Commits
- rGa94d943f1a3f: [flang] Fix actions at end of output record
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo