[Python-checkins] r82104 - python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c
jean-paul.calderone
python-checkins at python.org
Sat Jun 19 23:44:59 CEST 2010
Author: jean-paul.calderone
Date: Sat Jun 19 23:44:59 2010
New Revision: 82104
Log:
Skip _iterable_to_mask if there's no sigprocmask
Modified:
python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c
Modified: python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c
==============================================================================
--- python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c (original)
+++ python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c Sat Jun 19 23:44:59 2010
@@ -468,6 +468,7 @@
#endif
+#ifdef HAVE_SIGPROCMASK
static int
_iterable_to_mask(PyObject *iterable, sigset_t *mask)
{
@@ -502,6 +503,7 @@
Py_XDECREF(iterator);
return result;
}
+#endif
#if defined(HAVE_PTHREAD_SIGMASK) && !defined(HAVE_BROKEN_PTHREAD_SIGMASK)
# define PY_SIGMASK pthread_sigmask
More information about the Python-checkins
mailing list