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
ae1d8169
Commit
ae1d8169
authored
May 16, 2015
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation error in signalmodule.c (issue #20182).
parent
a7e3e2cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Modules/clinic/signalmodule.c.h
Modules/clinic/signalmodule.c.h
+5
-5
Modules/signalmodule.c
Modules/signalmodule.c
+3
-3
No files found.
Modules/clinic/signalmodule.c.h
View file @
ae1d8169
...
...
@@ -333,20 +333,20 @@ PyDoc_STRVAR(signal_sigtimedwait__doc__,
static
PyObject
*
signal_sigtimedwait_impl
(
PyModuleDef
*
module
,
PyObject
*
sigset
,
PyObject
*
timeout
);
PyObject
*
timeout
_obj
);
static
PyObject
*
signal_sigtimedwait
(
PyModuleDef
*
module
,
PyObject
*
args
)
{
PyObject
*
return_value
=
NULL
;
PyObject
*
sigset
;
PyObject
*
timeout
;
PyObject
*
timeout
_obj
;
if
(
!
PyArg_UnpackTuple
(
args
,
"sigtimedwait"
,
2
,
2
,
&
sigset
,
&
timeout
))
&
sigset
,
&
timeout
_obj
))
goto
exit
;
return_value
=
signal_sigtimedwait_impl
(
module
,
sigset
,
timeout
);
return_value
=
signal_sigtimedwait_impl
(
module
,
sigset
,
timeout
_obj
);
exit:
return
return_value
;
...
...
@@ -429,4 +429,4 @@ exit:
#ifndef SIGNAL_PTHREAD_KILL_METHODDEF
#define SIGNAL_PTHREAD_KILL_METHODDEF
#endif
/* !defined(SIGNAL_PTHREAD_KILL_METHODDEF) */
/*[clinic end generated code: output=
65ca7b83632eda99
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
b99278c16c40ea43
input=a9049054013a1b77]*/
Modules/signalmodule.c
View file @
ae1d8169
...
...
@@ -1017,7 +1017,7 @@ signal_sigwaitinfo(PyModuleDef *module, PyObject *sigset)
signal.sigtimedwait
sigset: object
timeout: object
timeout
as timeout_obj
: object
/
Like sigwaitinfo(), but with a timeout.
...
...
@@ -1027,8 +1027,8 @@ The timeout is specified in seconds, with floating point numbers allowed.
static
PyObject
*
signal_sigtimedwait_impl
(
PyModuleDef
*
module
,
PyObject
*
sigset
,
PyObject
*
timeout
)
/*[clinic end generated code: output=
e6e049f2bddea688 input=036bbab9b15cb8de
]*/
PyObject
*
timeout
_obj
)
/*[clinic end generated code: output=
c1960b5cea139929 input=53fd4ea3e3724eb8
]*/
{
struct
timespec
ts
;
sigset_t
set
;
...
...
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