Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
986a56ce
Commit
986a56ce
authored
Jan 19, 2013
by
Charles-François Natali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.
parent
441d30fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
Modules/selectmodule.c
Modules/selectmodule.c
+2
-2
No files found.
Misc/ACKS
View file @
986a56ce
...
@@ -41,6 +41,7 @@ Jon Anglin
...
@@ -41,6 +41,7 @@ Jon Anglin
Heidi Annexstad
Heidi Annexstad
Éric Araujo
Éric Araujo
Alicia Arlen
Alicia Arlen
Jeffrey Armstrong
Jason Asbahr
Jason Asbahr
David Ascher
David Ascher
Chris AtLee
Chris AtLee
...
...
Misc/NEWS
View file @
986a56ce
...
@@ -849,6 +849,9 @@ Tests
...
@@ -849,6 +849,9 @@ Tests
Build
Build
-----
-----
- Issue #16953: Fix socket module compilation on platforms with
HAVE_BROKEN_POLL. Patch by Jeffrey Armstrong.
- Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
- Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
...
...
Modules/selectmodule.c
View file @
986a56ce
...
@@ -1743,7 +1743,7 @@ descriptors can be used.");
...
@@ -1743,7 +1743,7 @@ descriptors can be used.");
static
PyMethodDef
select_methods
[]
=
{
static
PyMethodDef
select_methods
[]
=
{
{
"select"
,
select_select
,
METH_VARARGS
,
select_doc
},
{
"select"
,
select_select
,
METH_VARARGS
,
select_doc
},
#if
def HAVE_POLL
#if
defined(HAVE_POLL) && !defined(HAVE_BROKEN_POLL)
{
"poll"
,
select_poll
,
METH_NOARGS
,
poll_doc
},
{
"poll"
,
select_poll
,
METH_NOARGS
,
poll_doc
},
#endif
/* HAVE_POLL */
#endif
/* HAVE_POLL */
{
0
,
0
},
/* sentinel */
{
0
,
0
},
/* sentinel */
...
@@ -1788,7 +1788,7 @@ PyInit_select(void)
...
@@ -1788,7 +1788,7 @@ PyInit_select(void)
PyModule_AddIntConstant
(
m
,
"PIPE_BUF"
,
PIPE_BUF
);
PyModule_AddIntConstant
(
m
,
"PIPE_BUF"
,
PIPE_BUF
);
#endif
#endif
#if defined(HAVE_POLL)
#if defined(HAVE_POLL)
&& !defined(HAVE_BROKEN_POLL)
#ifdef __APPLE__
#ifdef __APPLE__
if
(
select_have_broken_poll
())
{
if
(
select_have_broken_poll
())
{
if
(
PyObject_DelAttrString
(
m
,
"poll"
)
==
-
1
)
{
if
(
PyObject_DelAttrString
(
m
,
"poll"
)
==
-
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment