Christian Heimes added the comment:

Am 22.07.2013 16:00, schrieb Antoine Pitrou:
> Have you tried to reset errno at the beginning of the function?

It doesn't affect Coverity's report:

     BEGIN_SELECT_LOOP(s)
     Py_BEGIN_ALLOW_THREADS
+    errno = 0;
     timeout = internal_select_ex(s, 0, interval);
     if (!timeout) {
         newfd = accept(s->sock_fd, SAS2SA(&addrbuf), &addrlen);

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18528>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to