Skip to content

Commit 0a3a556

Browse files
authored
Merge pull request #8310 from apple/jdevlieghere/rdar/123722848
[Support] Use all_read | all_write for createTemporaryFile (llvm#83360)
2 parents 3e44914 + fe611d6 commit 0a3a556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Support/Path.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ createTemporaryFile(const Twine &Model, int &ResultFD,
850850
"Model must be a simple filename.");
851851
// Use P.begin() so that createUniqueEntity doesn't need to recreate Storage.
852852
return createUniqueEntity(P.begin(), ResultFD, ResultPath, true, Type, Flags,
853-
owner_read | owner_write);
853+
all_read | all_write);
854854
}
855855

856856
static std::error_code

0 commit comments

Comments
 (0)