[issue21679] Prevent extraneous fstat during open()

Bohuslav "Slavek" Kabrda report at bugs.python.org
Tue Jun 10 10:38:19 CEST 2014


Bohuslav "Slavek" Kabrda added the comment:

Again, thanks for the review. It's true that HAVE_FSTAT can be defined without stat structure containing st_blksize. I added an ifdef HAVE_STRUCT_STAT_ST_BLKSIZE for that. Attaching third version of the patch, hopefully everything will be ok now.

----------
Added file: http://bugs.python.org/file35548/python3-remove-extraneous-fstat-on-file-open-v3.patch

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


More information about the Python-bugs-list mailing list