mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Update the comment for system_temp_directory() to indicate when it
will ignore the erasedOnReboot option, and properly escape the backslash in "C:\TEMP". Thanks to Aaron and Francois. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -510,7 +510,7 @@ void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) {
|
||||
const char *DefaultResult;
|
||||
#ifdef LLVM_ON_WIN32
|
||||
(void)erasedOnReboot;
|
||||
DefaultResult = "C:\TEMP";
|
||||
DefaultResult = "C:\\TEMP";
|
||||
#else
|
||||
if (erasedOnReboot)
|
||||
DefaultResult = "/tmp";
|
||||
|
||||
Reference in New Issue
Block a user