[Python-checkins] bpo-34419: selectmodule.c does not compile on HP-UX due to bpo-31938 (GH-8796)
Tal Einat
webhook-mailer at python.org
Fri Aug 17 07:43:08 EDT 2018
https://github.com/python/cpython/commit/0e6e7a1e52a53090e33ebef13f8f1fbe9bec2375
commit: 0e6e7a1e52a53090e33ebef13f8f1fbe9bec2375
branch: master
author: Michael Osipov <1983-01-06 at gmx.net>
committer: Tal Einat <taleinat+github at gmail.com>
date: 2018-08-17T14:43:02+03:00
summary:
bpo-34419: selectmodule.c does not compile on HP-UX due to bpo-31938 (GH-8796)
Fix compile errors reported by HP aCC by fixing bugs introduced in 6dc57e2a20c
which do not cause trouble on clang or GCC.
Patch by Michael Osipov.
files:
M Modules/selectmodule.c
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 15aca2724a2c..836af5429af5 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -846,8 +846,6 @@ static PyObject *
select_devpoll_modify_impl(devpollObject *self, int fd,
unsigned short eventmask)
/*[clinic end generated code: output=bc2e6d23aaff98b4 input=48a820fc5967165d]*/
-static PyObject *
-devpoll_modify(devpollObject *self, PyObject *args)
{
return internal_devpoll_register(self, fd, eventmask, 1);
}
@@ -895,7 +893,7 @@ select_devpoll_poll_impl(devpollObject *self, PyObject *timeout_obj)
/*[clinic end generated code: output=2654e5457cca0b3c input=fd0db698d84f0333]*/
{
struct dvpoll dvp;
- PyObject *result_list = NULL, *timeout_obj = NULL;
+ PyObject *result_list = NULL;
int poll_result, i;
PyObject *value, *num1, *num2;
_PyTime_t timeout, ms, deadline = 0;
More information about the Python-checkins
mailing list