Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1338314, Bug #1336623: fix tarfile so it can extract | Neal Norwitz | 2005-10-28 | 1 | -0/+30 |
| | | | | | | 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/+48 |
| | | | | | | | | | | | | | | 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. | ||||
* | Patch #1168594: set sizes of non-regular files to zero. Fixes #1167128. | Martin v. Löwis | 2005-08-27 | 1 | -0/+35 |
| | | | | Will backport to 2.4. | ||||
* | Patch #918101: Add tarfile open mode r|* for auto-detection of the | Martin v. Löwis | 2005-03-05 | 1 | -2/+27 |
| | | | | stream compression; add, for symmetry reasons, r:* as a synonym of r. | ||||
* | Patch #1107973: tarfile.ExFileObject iterators. | Martin v. Löwis | 2005-03-03 | 1 | -0/+10 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-10-25 | 1 | -1/+1 |
| | |||||
* | Add test case for bug #1017553 | Andrew M. Kuchling | 2004-10-20 | 1 | -0/+9 |
| | |||||
* | Flush bz2 data even if nothing had been written so far. Fixes #1013882. | Martin v. Löwis | 2004-08-22 | 1 | -1/+7 |
| | | | | Will backport to 2.3. | ||||
* | SF #857297 and 916874, improve handling of hard links when extracting | Neal Norwitz | 2004-07-20 | 1 | -0/+21 |
| | |||||
* | SF #846659, fix bufsize violation and GNU longname/longlink extensions | Neal Norwitz | 2004-07-20 | 1 | -1/+90 |
| | |||||
* | When calling tarname with an argument (and thus not use testtar.tar) return a | Brett Cannon | 2003-06-12 | 1 | -1/+1 |
| | | | | path for the file in the temp directory for the platform. | ||||
* | Make creation of temporary file and directory more portable. Also made cleanup | Brett Cannon | 2003-06-12 | 1 | -7/+8 |
| | | | | | | | | | | code use proper functions to get paths. Changed the name of tar file that is searched for to be absolute (i.e., not use os.extsep) since filename is locked in based on name of file in CVS (testtar.tar). Closes bug #731403 . | ||||
* | Patch #734231: Update RiscOS support. In particular, correct | Martin v. Löwis | 2003-05-10 | 1 | -4/+4 |
| | | | | riscospath.extsep, and use os.extsep throughout. | ||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -19/+18 |
| | | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807. | ||||
* | Get test working if gzip support is not available | Neal Norwitz | 2003-04-14 | 1 | -1/+2 |
| | |||||
* | The filename fix of the previous checkin was complete bogus, the problem is ↵ | Jack Jansen | 2003-03-07 | 1 | -3/+3 |
| | | | | elsewhere. Retracting. | ||||
* | Two fixes to make this test pass on MacOS9: | Jack Jansen | 2003-03-07 | 1 | -4/+4 |
| | | | | | | | - the test was sloppy about filenames: "0-REGTYPE-TEXT" was used where the archive held "/0-REGTYPE-TEXT". - tarfile extracts all files in binary mode, but the test expected to be able to read and compare text files in text mode. Use universal text mode. | ||||
* | Removed debugging print in test_tarfile. | Tim Peters | 2003-02-19 | 1 | -1/+0 |
| | | | | | In the Windows installer, continued the endless battle to copy over files with new one-shot extensions. | ||||
* | Whitespace normalization. | Tim Peters | 2003-02-19 | 1 | -0/+1 |
| | |||||
* | Actually run these tests from regrtest.py. | Neal Norwitz | 2003-02-17 | 1 | -2/+23 |
| | | | | | | There was no test_main() and the main body was protected by if __name__ == '__main__' so the test didn't happen on import either. | ||||
* | SF #651082, tarfile module implementation from Lars Gustäbel | Neal Norwitz | 2003-01-05 | 1 | -0/+253 |