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:
7d180ac
)
Another attempt at fixing the bots.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 19 Jun 2013 16:16:13 +0000
(16:16 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 19 Jun 2013 16:16:13 +0000
(16:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184318
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-ar/llvm-ar.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-ar/llvm-ar.cpp
b/tools/llvm-ar/llvm-ar.cpp
index 9dacbdeffc568d862d00f74d81ca659637a8d94e..27df8d83558621d42f0c21768c3ee6176c527951 100644
(file)
--- a/
tools/llvm-ar/llvm-ar.cpp
+++ b/
tools/llvm-ar/llvm-ar.cpp
@@
-430,7
+430,7
@@
doExtract(std::string* ErrMsg) {
// Open up a file stream for writing
std::ios::openmode io_mode = std::ios::out | std::ios::trunc |
std::ios::binary;
- std::ofstream file(I->getPath().str(), io_mode);
+ std::ofstream file(I->getPath().str()
.c_str()
, io_mode);
// Get the data and its length
const char* data = reinterpret_cast<const char*>(I->getData());