[issue23152] fstat64 required on Windows

Josh Rosenberg report at bugs.python.org
Sat Jan 3 01:02:33 CET 2015


Josh Rosenberg added the comment:

I believe explicitly calling the 64 bit version of a function is usually frowned upon. At least on *NIX systems, the standard solution is to define -D_FILE_OFFSET_BITS=64 during the build process, so off_t seamlessly becomes a 64 bit value, and the 64 bit version of appropriate functions is called and linked (fstat64, mmap64, etc.).

----------
nosy: +josh.r

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


More information about the Python-bugs-list mailing list