Handle UIDs and GIDs that don't fit in 6 decimal places.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Jan 2014 17:02:09 +0000 (17:02 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Jan 2014 17:02:09 +0000 (17:02 +0000)
commit0972d2777c7e2e3d10e858738b3a588f64e0d005
tree0298a416367599958ef43e828285b8e687d9674d
parentbb34ce84fd25aa978723bef9b84a1048e212bf0f
Handle UIDs and GIDs that don't fit in 6 decimal places.

Newer unix systems have 32 bit uid and gid types, but the archive format was
not updated. Fortunately, these fields are not normally used. Just truncate
the data to fit in 6 chars.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199223 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-ar/llvm-ar.cpp