From: Kevin Day Date: Sun, 31 Oct 2021 13:19:33 +0000 (-0500) Subject: Bugfix: Use BLOCK after UNBLOCK rather than UNBLOCK again. X-Git-Tag: 0.5.7~97 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=90ee6afb9023cfba9f7619a4247f49794d49e7aa;p=fll Bugfix: Use BLOCK after UNBLOCK rather than UNBLOCK again. --- diff --git a/level_3/controller/c/private-common.c b/level_3/controller/c/private-common.c index 832cf55..3641edb 100644 --- a/level_3/controller/c/private-common.c +++ b/level_3/controller/c/private-common.c @@ -955,7 +955,7 @@ extern "C" { const int result = nanosleep(&time, 0); if (setting->interruptible) { - f_signal_mask(SIG_UNBLOCK, &main->signal.set, 0); + f_signal_mask(SIG_BLOCK, &main->signal.set, 0); } return result;