diff options
Diffstat (limited to 'src/signal.c')
-rw-r--r-- | src/signal.c | 2 |
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) |