[all-commits] [llvm/llvm-project] b232a8: [flang] runtime: fix WRITE after BACKSPACE on vari...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Aug 24 09:39:08 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b232a88c6fac07a2c4304d156a33664dbbe77a1b
https://github.com/llvm/llvm-project/commit/b232a88c6fac07a2c4304d156a33664dbbe77a1b
Author: peter klausler <pklausler at nvidia.com>
Date: 2021-08-24 (Tue, 24 Aug 2021)
Changed paths:
M flang/runtime/unit.cpp
Log Message:
-----------
[flang] runtime: fix WRITE after BACKSPACE on variable-length file
BACKSPACE leaves "recordLength" set, which is fine for a later READ,
but it causes a later WRITE to fail due to a misinterpretation of the
knowledge of the record length as indication of a fixed-length record
file (RECL=). Fix.
Differential Revision: https://reviews.llvm.org/D108594
More information about the All-commits
mailing list