[issue12517] Large file support on Windows: sizeof(off_t) is 32 bits

STINNER Victor report at bugs.python.org
Fri Jul 8 00:54:10 CEST 2011


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

FileIO.readall() and _parse_off_t() help of the posix module use the off_t type. This type is only 32 bits long and so don't support files bigger than 4 GB (or maybe just 2 GB?). The Py_off_t type should be used instead.

----------
components: Windows
messages: 139997
nosy: haypo, loewis, pitrou
priority: normal
severity: normal
status: open
title: Large file support on Windows: sizeof(off_t) is 32 bits
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12517>
_______________________________________


More information about the Python-bugs-list mailing list