From 9b25d4aa0b6219ce4e4429f9749c7c493531a3cd Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 19 Oct 2020 14:35:20 -0400 Subject: Fix saving Repro files on Linux (#1581) * #include an absolute path didn't work - because paths were taken to always be relative. * Ascii mode not always set on FileStream. Remove this-> if not needed. Simplify setting of m_fileAccess. * Fix typo. * Fix typo. * Clear up default FileAccess calculation. * Convert tabs to spaces. * Small naming improvements in FileStream::seek. --- source/core/slang-stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/slang-stream.h') diff --git a/source/core/slang-stream.h b/source/core/slang-stream.h index 212437ab5..c4064871b 100644 --- a/source/core/slang-stream.h +++ b/source/core/slang-stream.h @@ -165,7 +165,7 @@ private: void _init(const String& fileName, FileMode fileMode, FileAccess access, FileShare share); FILE* m_handle; - FileAccess m_fileAccess; + FileAccess m_fileAccess; bool m_endReached = false; }; -- cgit v1.2.3