mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +00:00
Add a fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184486 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
769accfb4d
commit
8874cc242b
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user