mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-06 02:29:51 +00:00
Use 0664 instead of 0644 for the default open mode. This is
consistent with common std::ostream implmentations, and it gives the user the option of using the umask group write bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
65f57c233c
commit
9f79d3ea50
@ -266,7 +266,7 @@ raw_fd_ostream::raw_fd_ostream(const char *Filename, bool Binary,
|
||||
if (Binary)
|
||||
Flags |= O_BINARY;
|
||||
#endif
|
||||
FD = open(Filename, Flags, 0644);
|
||||
FD = open(Filename, Flags, 0664);
|
||||
if (FD < 0) {
|
||||
ErrorInfo = "Error opening output file '" + std::string(Filename) + "'";
|
||||
ShouldClose = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user