Author lars.gustaebel
Recipients lars.gustaebel, moloney, r.david.murray, serhiy.storchaka
Date 2014-07-23.09:57:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406109426.24.0.468587295717.issue21987@psf.upfronthosting.co.za>
In-reply-to
Content
Apparently, the problem is located in TarInfo._proc_gnulong(). I attached a patch.

When tarfile reads an archive, it strips trailing slashes from all filenames, except GNUTYPE_LONGNAME headers, which is a bug. tarfile creates GNU_FORMAT tar files by default, hence it uses an additional GNUTYPE_LONGNAME header for filenames >100 chars. That's why tarfile_issue.py fails if used with PAX_FORMAT, because PAX_FORMAT doesn't have this bug.
History
Date User Action Args
2014-07-23 09:57:06lars.gustaebelsetrecipients: + lars.gustaebel, r.david.murray, serhiy.storchaka, moloney
2014-07-23 09:57:06lars.gustaebelsetmessageid: <1406109426.24.0.468587295717.issue21987@psf.upfronthosting.co.za>
2014-07-23 09:57:06lars.gustaebellinkissue21987 messages
2014-07-23 09:57:06lars.gustaebelcreate