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 <rep...@bugs.python.org>
<http://bugs.python.org/issue23152>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to