[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

STINNER Victor report at bugs.python.org
Mon May 30 22:12:29 CEST 2011


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

> Should I go on and write a patch?

Yes please, write a patch, I will review it.

To emulate a system without stat or fstat, you may use:
#define fstat dont_have_fstat
#define stat dont_have_stat

The link will fail if the code still refer to fstat() or stat().

----------

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


More information about the Python-bugs-list mailing list