summaryrefslogtreecommitdiff
path: root/source/core/slang-stream.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-10-19 14:35:20 -0400
committerGitHub <noreply@github.com>2020-10-19 14:35:20 -0400
commit9b25d4aa0b6219ce4e4429f9749c7c493531a3cd (patch)
treec12b90f47d6edda5eb202b68074485bb7fff9808 /source/core/slang-stream.h
parentacf94e79250c258e1969be7ece9cb7ccdecbe099 (diff)
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.
Diffstat (limited to 'source/core/slang-stream.h')
-rw-r--r--source/core/slang-stream.h2
1 files changed, 1 insertions, 1 deletions
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;
};