Issue 949052: winzip cannot extrat tarfile created tars (original) (raw)

Issue949052

Created on 2004-05-06 10:22 by longsleep, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
tarfile.patch longsleep,2004-05-06 10:22 patch to always set zero bytes on folderish entries
Messages (2)
msg20711 - (view) Author: Simon Eisenmann (longsleep) Date: 2004-05-06 10:22
The tarfile module uses the posix way to handle long file names per default. This is not supported by lots of extractors (like winzip). This should be changed not to be the default. Long file names should be handled by the gnu extension anytime. right now this is reached by setting $tarobject.posix = False manually. In addition the tarfile module sets a file size on directory entries. This isnt supported as well on well known extractors like winzip. The size for directory entries should be zero anytime. I attached a patch to fix the latter problem.
msg20712 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-08-18 13:56
Logged In: YES user_id=21627 Fixed with patch #995126.
History
Date User Action Args
2022-04-11 14:56:04 admin set github: 40223
2004-05-06 10:22:43 longsleep create