Permalink
Showing
with
2 additions
and
1 deletion.
-
+2
−1
Modules/posixmodule.c
|
|
@@ -1259,7 +1259,8 @@ _Py_Sigset_Converter(PyObject *obj, void *addr) |
|
|
|
long signum; |
|
|
|
int overflow; |
|
|
|
|
|
|
|
if (sigemptyset(mask)) { |
|
|
|
// The extra parens suppress the unreachable-code warning with clang on MacOS |
|
|
|
if (sigemptyset(mask) < (0)) { |
|
|
|
/* Probably only if mask == NULL. */ |
|
|
|
PyErr_SetFromErrno(PyExc_OSError); |
|
|
|
return 0; |
|
|
|
0 comments on commit
f090019