Martin v. Löwis
df24153f65
Patch #1107973 : tarfile.ExFileObject iterators.
2005-03-03 08:17:42 +00:00
Guido van Rossum
75b64e65f1
Use decorators.
2005-01-16 00:16:11 +00:00
Raymond Hettinger
a617271dbd
Use cStringIO where available.
2004-12-31 19:15:26 +00:00
Andrew M. Kuchling
8bc462fcaf
[Patch #1043972 , for bug #1017553 ] filemode() returns an incorrect value for the mode 07111
2004-10-20 11:48:42 +00:00
Martin v. Löwis
f3c5611fef
Patch #1029061 : Always extract member names from the tarinfo.
2004-09-18 09:08:52 +00:00
Martin v. Löwis
c11d6f13ae
Patch #1014992 : Never return more than a line from readline.
...
Will backport to 2.3.
2004-08-25 10:52:58 +00:00
Martin v. Löwis
c234a52458
Flush bz2 data even if nothing had been written so far. Fixes #1013882 .
...
Will backport to 2.3.
2004-08-22 21:28:33 +00:00
Martin v. Löwis
61d77e0d97
Replace tricky and/or with straight-forward if:else:
2004-08-20 06:35:46 +00:00
Martin v. Löwis
75b9da4aaf
Patch #995126 : Correct directory size, and generate GNU tarfiles by default.
2004-08-18 13:57:44 +00:00
Neal Norwitz
0260519c52
Remove unused variables
2004-07-20 22:31:34 +00:00
Neal Norwitz
d96d1015ef
SF #918101 , allow files >= 8 GB using GNU extension
2004-07-20 22:23:02 +00:00
Neal Norwitz
a4f651a2ae
SF #857297 and 916874, improve handling of hard links when extracting
2004-07-20 22:07:44 +00:00
Neal Norwitz
0662f8a5ea
SF #846659 , fix bufsize violation and GNU longname/longlink extensions
2004-07-20 21:54:18 +00:00
Andrew M. Kuchling
864bba1981
[Patch 988444]
...
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.
2004-07-10 22:02:11 +00:00
Andrew M. Kuchling
6e4f7a82da
[Bug #812325 ] tarfile.close() can write out more bytes to the output
...
than are specified by the buffer size. The patch calls .__write()
to ensure that any full blocks are written out.
2004-01-02 15:44:29 +00:00
Andrew M. Kuchling
10a444965d
[Bug #822668 ] tarfile raises an exception if the tarfile is gzipped and is too large; the gzip filesize should be written out mod 2**32. (Reported by Johan Fredrik Ohman)
2003-10-24 17:38:34 +00:00
Jack Jansen
2b4b5a54d6
Fix by Lars Gustaebel for bug 721871: don't get upset if the prefix
...
field contains garbage after the first NUL character.
2003-04-22 22:03:11 +00:00
Neal Norwitz
4ec6824896
Fix test_tarfile failure when gzip is not available
...
The module would exist, but be empty if already imported.
This change ensures we have gzip available.
2003-04-11 03:05:56 +00:00
Tim Peters
f9347782e0
Somebody must not have run the test before checking this in -- it had
...
a fatal tab/space inconsistency under -tt.
2003-03-07 15:36:41 +00:00
Jack Jansen
cfc4902b2a
Make tarfile raise ImportError on MacOS9. The pathname handling needs work, and I don't have time to fix it. I'll file a bug report.
2003-03-07 13:37:32 +00:00
Jack Jansen
834eff6a4c
Test that os.utime and os.chmod actually exist before using them.
2003-03-07 12:47:06 +00:00
Andrew MacIntyre
7970d20792
OS/2 has no concept of file ownership, like DOS & MS Windows version
...
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.
2003-02-19 12:51:34 +00:00
Tim Peters
2c60f7a136
Whitespace normalization.
2003-01-29 03:49:43 +00:00
Neal Norwitz
b9ef4aea5e
SF #651082 , tarfile module implementation from Lars Gustäbel
2003-01-05 23:19:43 +00:00