projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f57c2
)
Use 0664 instead of 0644 for the default open mode. This is
author
Dan Gohman
<gohman@apple.com>
Wed, 15 Jul 2009 16:39:40 +0000
(16:39 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 15 Jul 2009 16:39:40 +0000
(16:39 +0000)
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
lib/Support/raw_ostream.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/raw_ostream.cpp
b/lib/Support/raw_ostream.cpp
index ef725018ee23a73ce56e5447c0ada191e2cbeb47..3e1a8a9765c313abe8188d8cd1afe1ae7ea7277d 100644
(file)
--- a/
lib/Support/raw_ostream.cpp
+++ b/
lib/Support/raw_ostream.cpp
@@
-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, 06
4
4);
+ FD = open(Filename, Flags, 06
6
4);
if (FD < 0) {
ErrorInfo = "Error opening output file '" + std::string(Filename) + "'";
ShouldClose = false;