mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Use enums instead of raw octal values.
Patch by 罗勇刚(Yonggang Luo). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184971 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -268,7 +268,7 @@ bool Archive::writeToDisk(bool TruncateNames, std::string *ErrMsg) {
|
||||
int TmpArchiveFD;
|
||||
SmallString<128> TmpArchive;
|
||||
error_code EC = sys::fs::unique_file("temp-archive-%%%%%%%.a", TmpArchiveFD,
|
||||
TmpArchive, true, 0666);
|
||||
TmpArchive, true, sys::fs::all_read | sys::fs::all_write);
|
||||
if (EC)
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user