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

STINNER Victor report at bugs.python.org
Fri Jul 8 01:03:02 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

_parse_off_t() is used by the following functions:
- lockf
- pread, pwrite
- sendfile
- truncate, ftruncate
- posix_advice, posix_fallocate

Windows has none of these functions. _parse_off_t() may be surrounded by #ifndef MS_WINDOWS with a comment explaining that Py_off_t should be used on Windows to support large files.

----------

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


More information about the Python-bugs-list mailing list