[all-commits] [llvm/llvm-project] 5034e1: [flang] Remove runtime check from OpenFile::Close()
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Dec 7 09:44:07 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5034e1730f7a4dbd8004900096c4b176d24f13cb
https://github.com/llvm/llvm-project/commit/5034e1730f7a4dbd8004900096c4b176d24f13cb
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M flang/runtime/file.cpp
Log Message:
-----------
[flang] Remove runtime check from OpenFile::Close()
In error cases it is possible to CLOSE a unit that has not
been successfully connected, so don't crash when the file descriptor
is negative.
Differential Revision: https://reviews.llvm.org/D115165
More information about the All-commits
mailing list