Issue 1338314: tarfile.py: fix for bug #1336623 (original) (raw)

Issue1338314

Created on 2005-10-26 10:21 by lars.gustaebel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
1336623-fix.diff lars.gustaebel,2005-10-26 10:21 patch against Lib/tarfile.py and Lib/test/test_tarfile.py
Messages (2)
msg48918 - (view) Author: Lars Gustäbel (lars.gustaebel) * (Python committer) Date: 2005-10-26 10:21
Old tar programs do not produce DIRTYPE members, they represent directories as REGTYPE members with a trailing slash. A workaround for these "buggy" archives is in tarfile.py since 2002, but got lost at some point in time. The attached patch revives this workaround and provides a regression test.
msg48919 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2005-10-28 06:01
Logged In: YES user_id=33168 Thanks! Committed revision 41340. Committed revision 41341.
History
Date User Action Args
2022-04-11 14:56:13 admin set github: 42525
2005-10-26 10:21:59 lars.gustaebel create