aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2007-10-09 01:40:30 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2007-10-09 01:40:30 -0500
commit0238eac38ea814d870f0a424a58d76d4e261f373 (patch)
treef9b3a8599603421b868570f986f556accb951bbd
parentd83e670386f79503c4c249e2791dc8cf1b114076 (diff)
downloadluasignal-0238eac38ea814d870f0a424a58d76d4e261f373.tar.gz
luasignal-0238eac38ea814d870f0a424a58d76d4e261f373.zip
todo
-rw-r--r--src/signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/signal.c b/src/signal.c
index 9bd5228..232a4b7 100644
--- a/src/signal.c
+++ b/src/signal.c
@@ -177,6 +177,8 @@ static int l_suspend(lua_State* L)
sigset_t sset;
int first_arg = 1;
+ /* XXX: this should be moved out into a function so that mask() can also
+ * use it */
sigprocmask(0, NULL, &sset);
if (lua_isstring(L, 1)) {
const char* init;