summaryrefslogtreecommitdiffstats
path: root/Lib/tarfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Patch #995126: Correct directory size, and generate GNU tarfiles by default.Martin v. Löwis2004-08-181-2/+2
|
* Remove unused variablesNeal Norwitz2004-07-201-2/+0
|
* SF #918101, allow files >= 8 GB using GNU extensionNeal Norwitz2004-07-201-6/+32
|
* SF #857297 and 916874, improve handling of hard links when extractingNeal Norwitz2004-07-201-1/+6
|
* SF #846659, fix bufsize violation and GNU longname/longlink extensionsNeal Norwitz2004-07-201-1/+3
|
* [Patch 988444]Andrew M. Kuchling2004-07-101-34/+31
| | | | | | | | | | | | Read multiple special headers - fixed/improved handling of extended/special headers in read-mode (adding new extended headers should be less painful now). - improved nts() function. - removed TarFile.chunks datastructure which is not (and was never) needed. - fixed TarInfo.tobuf(), fields could overflow with too large values, values are now clipped.
* [Bug #812325 ] tarfile.close() can write out more bytes to the outputAndrew M. Kuchling2004-01-021-0/+1
| | | | | than are specified by the buffer size. The patch calls .__write() to ensure that any full blocks are written out.
* [Bug #822668] tarfile raises an exception if the tarfile is gzipped and is ↵Andrew M. Kuchling2003-10-241-1/+1
| | | | too large; the gzip filesize should be written out mod 2**32. (Reported by Johan Fredrik Ohman)
* Fix by Lars Gustaebel for bug 721871: don't get upset if the prefixJack Jansen2003-04-221-9/+4
| | | | field contains garbage after the first NUL character.
* Fix test_tarfile failure when gzip is not availableNeal Norwitz2003-04-111-1/+2
| | | | | The module would exist, but be empty if already imported. This change ensures we have gzip available.
* Somebody must not have run the test before checking this in -- it hadTim Peters2003-03-071-1/+1
| | | | a fatal tab/space inconsistency under -tt.
* Make tarfile raise ImportError on MacOS9. The pathname handling needs work, ↵Jack Jansen2003-03-071-0/+7
| | | | and I don't have time to fix it. I'll file a bug report.
* Test that os.utime and os.chmod actually exist before using them.Jack Jansen2003-03-071-4/+7
|
* OS/2 has no concept of file ownership, like DOS & MS Windows versionAndrew MacIntyre2003-02-191-1/+2
| | | | | | prior to NT. EMX has a number of Posix emulation routines, including geteuid() but lacks chown(), so silently skip trying to actually set a file ownership when extracting a file from a tar archive.
* Whitespace normalization.Tim Peters2003-01-291-1/+1
|
* SF #651082, tarfile module implementation from Lars GustäbelNeal Norwitz2003-01-051-0/+1927