Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Patch #1610437: fix a tarfile bug with long filename headers. | Georg Brandl | 2006-12-06 | 1 | -2/+6 | |
| | ||||||
* | Patch #1583880: fix tarfile's problems with long names and posix/ | Georg Brandl | 2006-10-29 | 1 | -88/+81 | |
| | | | | GNU modes. | |||||
* | Patch [ 1583506 ] tarfile.py: 100-char filenames are truncated | Georg Brandl | 2006-10-24 | 1 | -1/+1 | |
| | ||||||
* | Fix tarfile depending on buggy int('1\0', base) behavior. | Georg Brandl | 2006-10-12 | 1 | -1/+1 | |
| | ||||||
* | Fix bug #1543303, tarfile adds padding that breaks gunzip. | Neal Norwitz | 2006-08-21 | 1 | -3/+0 | |
| | | | | | | Patch # 1543897. Will backport to 2.5 | |||||
* | _Stream.close(): Try to kill struct.pack() warnings when | Tim Peters | 2006-08-02 | 1 | -1/+7 | |
| | | | | | | | | | | writing the crc to file on the "PPC64 Debian trunk" buildbot when running test_tarfile. This is again a case where the native zlib crc is an unsigned 32-bit int, but the Python wrapper implicitly casts it to signed C long, so that "the sign bit looks different" on different platforms. | |||||
* | Part of SF patch #1484695. This removes dead code. The chksum was | Neal Norwitz | 2006-07-10 | 1 | -7/+0 | |
| | | | | | | already verified in .frombuf() on the lines above. If there was a problem an exception is raised, so there was no way this condition could have been true. | |||||
* | Always close BZ2Proxy object. Remove unnecessary struct usage. | Georg Brandl | 2006-05-27 | 1 | -13/+10 | |
| | ||||||
* | Whitespace normalization. | Tim Peters | 2006-05-19 | 1 | -1/+1 | |
| | ||||||
* | Amendments to patch #1484695. | Georg Brandl | 2006-05-18 | 1 | -45/+52 | |
| | ||||||
* | [ 1488881 ] tarfile.py: support for file-objects and bz2 (cp. #1488634) | Georg Brandl | 2006-05-15 | 1 | -2/+67 | |
| | ||||||
* | Patch #1484695: Update the tarfile module to version 0.8. This fixes | Georg Brandl | 2006-05-10 | 1 | -180/+200 | |
| | | | | | a couple of issues, notably handling of long file names using the GNU LONGNAME extension. | |||||
* | Patch #1338314, Bug #1336623: fix tarfile so it can extract | Neal Norwitz | 2005-10-28 | 1 | -5/+6 | |
| | | | | | | REGTYPE directories from tarfiles written by old programs. Will backport. | |||||
* | Fix SF bug # 1330039, patch # 1331635 from Lars Gustaebel (tarfile maintainer) | Neal Norwitz | 2005-10-20 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | Problem: if two files are assigned the same inode number by the filesystem, the second one will be added as a hardlink to the first, which means that the content will be lost. The patched code checks if the file's st_nlink is greater 1. So only for files that actually have several links pointing to them hardlinks will be created, which is what GNU tar does. Will backport. | |||||
* | Minor cleanup. | Raymond Hettinger | 2005-09-11 | 1 | -2/+1 | |
| | ||||||
* | Patch #1168594: set sizes of non-regular files to zero. Fixes #1167128. | Martin v. Löwis | 2005-08-27 | 1 | -14/+12 | |
| | | | | Will backport to 2.4. | |||||
* | Revert previous checkin. | Martin v. Löwis | 2005-08-24 | 1 | -7/+20 | |
| | ||||||
* | Patch #1262036: Make tarfile name absolute. Fixes #1257255. | Martin v. Löwis | 2005-08-24 | 1 | -20/+7 | |
| | | | | Will backport to 2.4. | |||||
* | Fix all wrong instances of "it's". | Georg Brandl | 2005-07-22 | 1 | -1/+1 | |
| | ||||||
* | Whitespace normalization. | Tim Peters | 2005-03-28 | 1 | -1/+1 | |
| | ||||||
* | Patch #918101: Add tarfile open mode r|* for auto-detection of the | Martin v. Löwis | 2005-03-05 | 1 | -30/+66 | |
| | | | | stream compression; add, for symmetry reasons, r:* as a synonym of r. | |||||
* | Patch #1043890: tarfile: add extractall() method. | Martin v. Löwis | 2005-03-04 | 1 | -0/+41 | |
| | ||||||
* | Patch #1103407: Properly deal with tarfile iterators when untarring | Martin v. Löwis | 2005-03-03 | 1 | -4/+15 | |
| | | | | symbolic links on Windows. Fixes #1100429. Will backport to 2.4. | |||||
* | Patch #1107973: tarfile.ExFileObject iterators. | Martin v. Löwis | 2005-03-03 | 1 | -0/+16 | |
| | ||||||
* | Use decorators. | Guido van Rossum | 2005-01-16 | 1 | -10/+5 | |
| | ||||||
* | Use cStringIO where available. | Raymond Hettinger | 2004-12-31 | 1 | -2/+5 | |
| | ||||||
* | [Patch #1043972, for bug #1017553] filemode() returns an incorrect value for ↵ | Andrew M. Kuchling | 2004-10-20 | 1 | -27/+34 | |
| | | | | the mode 07111 | |||||
* | Patch #1029061: Always extract member names from the tarinfo. | Martin v. Löwis | 2004-09-18 | 1 | -25/+16 | |
| | ||||||
* | Patch #1014992: Never return more than a line from readline. | Martin v. Löwis | 2004-08-25 | 1 | -3/+1 | |
| | | | | Will backport to 2.3. | |||||
* | Flush bz2 data even if nothing had been written so far. Fixes #1013882. | Martin v. Löwis | 2004-08-22 | 1 | -2/+2 | |
| | | | | Will backport to 2.3. | |||||
* | Replace tricky and/or with straight-forward if:else: | Martin v. Löwis | 2004-08-20 | 1 | -1/+5 | |
| | ||||||
* | Patch #995126: Correct directory size, and generate GNU tarfiles by default. | Martin v. Löwis | 2004-08-18 | 1 | -2/+2 | |
| | ||||||
* | Remove unused variables | Neal Norwitz | 2004-07-20 | 1 | -2/+0 | |
| | ||||||
* | SF #918101, allow files >= 8 GB using GNU extension | Neal Norwitz | 2004-07-20 | 1 | -6/+32 | |
| | ||||||
* | SF #857297 and 916874, improve handling of hard links when extracting | Neal Norwitz | 2004-07-20 | 1 | -1/+6 | |
| | ||||||
* | SF #846659, fix bufsize violation and GNU longname/longlink extensions | Neal Norwitz | 2004-07-20 | 1 | -1/+3 | |
| | ||||||
* | [Patch 988444] | Andrew M. Kuchling | 2004-07-10 | 1 | -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 output | Andrew M. Kuchling | 2004-01-02 | 1 | -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. Kuchling | 2003-10-24 | 1 | -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 prefix | Jack Jansen | 2003-04-22 | 1 | -9/+4 | |
| | | | | field contains garbage after the first NUL character. | |||||
* | Fix test_tarfile failure when gzip is not available | Neal Norwitz | 2003-04-11 | 1 | -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 had | Tim Peters | 2003-03-07 | 1 | -1/+1 | |
| | | | | a fatal tab/space inconsistency under -tt. | |||||
* | Make tarfile raise ImportError on MacOS9. The pathname handling needs work, ↵ | Jack Jansen | 2003-03-07 | 1 | -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 Jansen | 2003-03-07 | 1 | -4/+7 | |
| | ||||||
* | OS/2 has no concept of file ownership, like DOS & MS Windows version | Andrew MacIntyre | 2003-02-19 | 1 | -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 Peters | 2003-01-29 | 1 | -1/+1 | |
| | ||||||
* | SF #651082, tarfile module implementation from Lars Gustäbel | Neal Norwitz | 2003-01-05 | 1 | -0/+1927 | |