This is an archive of the discontinued LLVM Phabricator instance.

[flang] Rework read/write permission management for runtime file opening
ClosedPublic

Authored by klausler on Jul 17 2020, 11:27 AM.

Details

Summary

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.

Diff Detail

Event Timeline

klausler created this revision.Jul 17 2020, 11:27 AM
Herald added a project: Restricted Project. · View Herald Transcript
sscalpone accepted this revision.Jul 17 2020, 2:06 PM
This revision is now accepted and ready to land.Jul 17 2020, 2:06 PM
This revision was automatically updated to reflect the committed changes.