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:
769accf
)
Add a fixme.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Thu, 20 Jun 2013 22:04:56 +0000
(22:04 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Thu, 20 Jun 2013 22:04:56 +0000
(22:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184486
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 b7328e1300f067401937cb441f986c327b6926f8..23b3df3d3b2357d6b334b59cdf1841b8716a461e 100644
(file)
--- a/
tools/llvm-ar/llvm-ar.cpp
+++ b/
tools/llvm-ar/llvm-ar.cpp
@@
-428,6
+428,7
@@
doExtract(std::string* ErrMsg) {
// Retain the original mode.
sys::fs::perms Mode = sys::fs::perms(I->getMode());
+ // FIXME: at least on posix we should be able to reuse FD (fchmod).
error_code EC = sys::fs::permissions(I->getPath(), Mode);
if (EC)
fail(EC.message());