[flang-commits] [PATCH] D84063: [flang] Rework read/write permission management for runtime file opening

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jul 17 11:27:02 PDT 2020


klausler created this revision.
klausler added reviewers: sscalpone, schweitz, tskeith.
klausler added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Anonymous Fortran unit files (e.g., "./fort.7") need to be created
O_RDWR so that they can be written, rewound, and read.  Other
files opened with no ACTION= specifier need to set read/write
permissions based on the file, if it exists.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84063

Files:
  flang/runtime/file.cpp
  flang/runtime/file.h
  flang/runtime/io-api.cpp
  flang/runtime/io-stmt.cpp
  flang/runtime/io-stmt.h
  flang/runtime/unit.cpp
  flang/runtime/unit.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84063.278862.patch
Type: text/x-patch
Size: 10693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200717/e42932bf/attachment.bin>


More information about the flang-commits mailing list