aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2007-10-09 00:06:42 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2007-10-09 00:06:42 -0500
commitfc8cf8f6bd9437220787d9082005a5a5dc2b779d (patch)
treed8351c0d20f1dde4341abcfd9e9ffa5976d535c5
parentf34f19bcd035e863110a96b5759c90eeffeee443 (diff)
downloadluasignal-fc8cf8f6bd9437220787d9082005a5a5dc2b779d.tar.gz
luasignal-fc8cf8f6bd9437220787d9082005a5a5dc2b779d.zip
comment
-rw-r--r--src/signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/signal.c b/src/signal.c
index ffacf25..2b3d42e 100644
--- a/src/signal.c
+++ b/src/signal.c
@@ -12,6 +12,8 @@ static lua_Hook old_hook = NULL;
static int old_mask = 0;
static int old_count = 0;
static queue q;
+/* hardcoding 256 here is not great... is there a better way to get the highest
+ * numbered signal? */
static struct sigaction lua_handlers[256];
static void lua_signal_handler(lua_State* L, lua_Debug* D)