homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients techtonik
Date 2008年12月26日.13:19:56
SpamBayes Score 8.207889e-05
Marked as misclassified No
Message-id <1230297599.68.0.395552641842.issue4750@psf.upfronthosting.co.za>
In-reply-to
Content
When tarfile is directed to create tar.gz compressed archive file in a
path different from current, it saves full path information in .gz
header where only filename is required.
This causes problems with decompression utilities, such as 7zip. The
testsuite with patch are attached.
{{{
tar -czf dist\create_tar.tar.gz package
7z l dist\create_tar.tar.gz > tar.out
python test_create.tar.gz.py
7z l dist\create_py.tar.gz > py.out
diff -pu3 tar.out py.out
}}}
{{{
--- tar.out Fri Dec 26 15:12:42 2008
+++ py.out Fri Dec 26 15:12:42 2008
@@ -1,10 +1,10 @@
 7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007年12月06日
-Listing archive: dist\create_tar.tar.gz
+Listing archive: dist\create_py.tar.gz
 Date Time Attr Size Compressed Name
 ------------------- ----- ------------ ------------ 
------------------------
-2008年12月26日 15:12:41 10240 170 create_tar.tar
+2008年12月26日 15:03:39 10240 141 dist/create_py.tar
 ------------------- ----- ------------ ------------ 
------------------------
- 10240 170 1 files, 0 folders
+ 10240 141 1 files, 0 folders
}}}
See also issue 1886 and msg61515 in particular
History
Date User Action Args
2008年12月26日 13:19:59techtoniksetrecipients: + techtonik
2008年12月26日 13:19:59techtoniksetmessageid: <1230297599.68.0.395552641842.issue4750@psf.upfronthosting.co.za>
2008年12月26日 13:19:58techtoniklinkissue4750 messages
2008年12月26日 13:19:56techtonikcreate

AltStyle によって変換されたページ (->オリジナル) /