Author vstinner
Recipients pitrou, vstinner
Date 2012-10-30.23:43:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351640587.41.0.234658150745.issue16367@psf.upfronthosting.co.za>
In-reply-to
Content
The changeset 374dc910db33 fixed FileIO.readinto(), FileIO.write() and os.write() on Windows for issues #9015, #9611, but FileIO.readall() was not fixed and it has a similar bug.

It uses "int n;" to store the result of read(), so FileIO.readall() may also fail to read a file longer than 2 GB on other platforms.

Attached patch should fix both issues.
History
Date User Action Args
2012-10-30 23:43:07vstinnersetrecipients: + vstinner, pitrou
2012-10-30 23:43:07vstinnersetmessageid: <1351640587.41.0.234658150745.issue16367@psf.upfronthosting.co.za>
2012-10-30 23:43:07vstinnerlinkissue16367 messages
2012-10-30 23:43:07vstinnercreate