[issue15897] zipimport.c doesn't check return value of fseek()

Christian Heimes report at bugs.python.org
Sat Sep 15 16:50:34 CEST 2012


Christian Heimes added the comment:

You can further compress the changes when you get rid of `rc` and check the return value inline, for example:

  if (fseek(...) == -1) {
    errorhandler;
  }

----------

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


More information about the Python-bugs-list mailing list