diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 22:04:56 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 22:04:56 +0000 |
commit | 8874cc242b8f68ee412e47a3c34fa2d5718feab5 (patch) | |
tree | a1b8e39a37d81c2f7ea26d7ac95733e9afa671b0 | |
parent | 769accfb4d71caff9152309eaa5e704e065b5846 (diff) | |
download | external_llvm-8874cc242b8f68ee412e47a3c34fa2d5718feab5.zip external_llvm-8874cc242b8f68ee412e47a3c34fa2d5718feab5.tar.gz external_llvm-8874cc242b8f68ee412e47a3c34fa2d5718feab5.tar.bz2 |
Add a fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184486 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/llvm-ar/llvm-ar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index b7328e1..23b3df3 100644 --- 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()); |