diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-13 04:14:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-13 04:14:13 +0000 |
commit | 0aac01b2f699e062266d8af69b1e12552fa39af7 (patch) | |
tree | a11a1dc751d34de91e5f5dae7091fdf218155bb9 /llvm/tools | |
parent | e99520c72e2906fea3c9ff39d4a46384cdf205f1 (diff) | |
download | bcm5719-llvm-0aac01b2f699e062266d8af69b1e12552fa39af7.tar.gz bcm5719-llvm-0aac01b2f699e062266d8af69b1e12552fa39af7.zip |
Add r186216 back, but make the test tolerant of different uids and gids.
original message:
Fix a off by one error about which members need to use the string table.
llvm-svn: 186238
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/llvm-ar/llvm-ar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index ab2a2f18ec5..5f47654b246 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/tools/llvm-ar/llvm-ar.cpp @@ -419,7 +419,7 @@ StringRef NewArchiveIterator::getNew() const { template <typename T> void addMember(std::vector<NewArchiveIterator> &Members, std::string &StringTable, T I, StringRef Name) { - if (Name.size() < 15) { + if (Name.size() < 16) { NewArchiveIterator NI(I, Twine(Name) + "/"); Members.push_back(NI); } else { |