From 10a444965dd537f4fc0483e960941cfdac8b2e11 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 24 Oct 2003 17:38:34 +0000 Subject: [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) --- Lib/tarfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 9dd8601..26f9c7f 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -357,7 +357,7 @@ class _Stream: self.buf = "" if self.type == "gz": self.fileobj.write(struct.pack("