[Patches] [ python-Patches-1615868 ] BZ2File.seek() fails for large files
SourceForge.net
noreply at sourceforge.net
Mon Dec 18 20:26:32 CET 2006
Patches item #1615868, was opened at 2006-12-14 11:25
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1615868&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Lars Gustäbel (gustaebel)
>Assigned to: A.M. Kuchling (akuchling)
Summary: BZ2File.seek() fails for large files
Initial Comment:
The bytesread variable in BZ2File.seek() is defined as int instead of size_t making it impossible to seek beyond 2GB distances.
Affected are all Python versions.
----------------------------------------------------------------------
>Comment By: A.M. Kuchling (akuchling)
Date: 2006-12-18 14:26
Message:
Logged In: YES
user_id=11375
Originator: NO
Thanks for the patch! Committed to the trunk in rev. 53053 and to
25-maint in rev. 53054.
----------------------------------------------------------------------
Comment By: Lars Gustäbel (gustaebel)
Date: 2006-12-14 11:45
Message:
Logged In: YES
user_id=642936
Originator: YES
Nah, it must be Py_off_t.
File Added: bz2-seek.diff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1615868&group_id=5470
More information about the Patches
mailing list