[issue23152] fstat64 required on Windows

STINNER Victor report at bugs.python.org
Thu Jan 8 11:34:16 CET 2015


STINNER Victor added the comment:

> #define fstat _fstati64

This change (alone) is not safe because _fstati64() doesn't use "struct stat" but "struct __stat64".

I don't like such global define, I may have unexpected side effect. I prefer to modify directly calls to fstat() in .c files (like the change implemented in my patch).

----------

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


More information about the Python-bugs-list mailing list