================
@@ -326,7 +326,7 @@ ErrorOr<std::unique_ptr<File>>
RealFileSystem::openFileForRead(const Twine &Name) {
SmallString<256> RealName, Storage;
Expected<file_t> FDOrErr = sys::fs::openNativeFileForRead(
- adjustPath(Name, Storage), sys::fs::OF_None, &RealName);
+ adjustPath(Name, Storage), sys::fs::OF_Text, &RealName);
----------------
abhina-sree wrote:
I have created a separate PR https://github.com/llvm/llvm-project/pull/107906
to propagate an IsText flag to these functions which on z/OS will query the
file tag to determine whether to open the file as text or binary.
https://github.com/llvm/llvm-project/pull/98652
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits