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.

classification
Title: tarfile.py: fix for bug #1336623
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: lars.gustaebel, nnorwitz
Priority: normal Keywords: patch

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:13adminsetgithub: 42525
2005-10-26 10:21:59lars.gustaebelcreate