[issue18550] internal_setblocking() doesn't check return value of fcntl()

Ronald Oussoren report at bugs.python.org
Fri Aug 2 07:51:19 CEST 2013


Ronald Oussoren added the comment:

It's a bit tedious, but not too bad. The attached patch appears to work, but needs review (especially for the Windows and VMS branches in internal_setblocking.

This changes the return value of internal_setblocking, it was unconditionally 1 and is now -1 if the call fails and 0 otherwise.

----------
keywords: +needs review, patch
nosy: +ronaldoussoren
stage: needs patch -> patch review

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


More information about the Python-bugs-list mailing list