commit | 6ff7240a5c484af6e42e2ba6a6d7e03ddf844922 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Wed Nov 30 05:21:10 2005 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Wed Nov 30 05:21:10 2005 +0000 |
tree | 47282e8fcd8123408d4be798eb39a90d79dc9c8f | |
parent | 5b9bbc8792c8b512e6109ff9a98bc89ff0f400ec [diff] |
Fix a problem with llvm-ranlib that (on some platforms) caused the archive file to become corrupted due to interactions between mmap'd memory segments and file descriptors closing. The problem is completely avoiding by using a third temporary file. Patch provided by Evan Jones git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24527 91177308-0d34-0410-b5e6-96231b3b80d8