commit | cf9bb41b9b041ae24b4eeec4b58970deb7b451c8 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Fri Jan 06 05:33:45 2017 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Fri Jan 06 05:33:45 2017 +0000 |
tree | 8f498e7138760c6b2716ed9c52425274dde68c1e | |
parent | e3ce5381d86af1e3228e3adec2eb48a195e29aa3 [diff] |
TarWriter: Emit PAX headers only when needed. We use PAX headers to store long filenames (>= 100 bytes). It is not needed to emit PAX headers if filenames fit in the Ustar header. This patch implements that optimization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291215 91177308-0d34-0410-b5e6-96231b3b80d8