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