diff options
author | Georg Brandl <georg@python.org> | 2006-02-18 21:10:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-02-18 21:10:56 (GMT) |
commit | 7b4e7c24df974b2590d5ef332910a020db355546 (patch) | |
tree | 02b67e7aeb2fe807b381dbefae8f47f5820f207c /Lib/chunk.py | |
parent | 2d65b5542bf788b0da29194f49c4458d9d9fdf24 (diff) | |
download | cpython-7b4e7c24df974b2590d5ef332910a020db355546.zip cpython-7b4e7c24df974b2590d5ef332910a020db355546.tar.gz cpython-7b4e7c24df974b2590d5ef332910a020db355546.tar.bz2 |
Patch #1373643: The chunk module can now read chunks larger than
two gigabytes.
Diffstat (limited to 'Lib/chunk.py')
-rw-r--r-- | Lib/chunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/chunk.py b/Lib/chunk.py index bda965f..a8fbc10 100644 --- a/Lib/chunk.py +++ b/Lib/chunk.py @@ -62,7 +62,7 @@ class Chunk: if len(self.chunkname) < 4: raise EOFError try: - self.chunksize = struct.unpack(strflag+'l', file.read(4))[0] + self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] except struct.error: raise EOFError if inclheader: |