commit | ea5d17d9afd3e5eb9ab317665f9d28bd2d59d669 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed Oct 27 19:45:43 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Oct 27 19:45:43 2010 +0000 |
tree | cbd77ba59f118cde82025dfdc3e6bf96185eb253 | |
parent | d72402effcc3ab4dd8dbdfc1e6f12aebcf3d3e13 [diff] |
In open(), only set the buffer size from st.st_blksize when it is greater than 1. This matches the pure Python implementation in _pyio and should fix a couple of failures on the NetBSD buildbot.