summaryrefslogtreecommitdiffstats
path: root/o3d/tests
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-21 20:41:15 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-21 20:41:15 +0000
commit41052c98c01f6575b436a478b49612722478db70 (patch)
treeb69490176459e84859bfc4780113b6861c69b529 /o3d/tests
parentd1868637ceb9def78abc10b10c55f1642c6c6971 (diff)
downloadchromium_src-41052c98c01f6575b436a478b49612722478db70.zip
chromium_src-41052c98c01f6575b436a478b49612722478db70.tar.gz
chromium_src-41052c98c01f6575b436a478b49612722478db70.tar.bz2
Refactor tar code to support long names.
The previous code only support names up to 99 chars. This one supports up to 1024. The code actually supports 32bit length but given that Linux, OSX and other only support 255 I set it 1024. Why 1024? Because Windows actually supports 255 wchar characters which when converted to utf-8 could be up to 1024 bytes. I'm not 100% sure the format is correct. I could not find any docs on the format, Just reverse engineered it. Looking at hex dumps by both 7zip and gnu tar it was pretty clear what it does including zeroing many of the standard fields. Review URL: http://codereview.chromium.org/159129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/tests')
-rw-r--r--o3d/tests/archive_files/test1.tarbin10240 -> 6656 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/o3d/tests/archive_files/test1.tar b/o3d/tests/archive_files/test1.tar
index fe1e22d..ae23a28 100644
--- a/o3d/tests/archive_files/test1.tar
+++ b/o3d/tests/archive_files/test1.tar
Binary files differ