Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |