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:
Rafael Espindola 2013-06-20 22:04:56 +00:00
parent 769accfb4d
commit 8874cc242b

View File

@ -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());