From 0e1b2986884fed5c886e65095c4e73114582ac5b Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 6 Jul 2024 23:33:33 -0500 Subject: [PATCH] Bugfix: Replace f_signal_mask() with f_thread_signal_mask(). The f_thread_signal_mask() is being used to setup the signals. If that fails, the unmask process is incorrectly using f_signal_mask() when instead f_thread_signal_mask() should be used. --- level_3/controller/c/controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/controller/c/controller.c b/level_3/controller/c/controller.c index 9a988f5..82e5e34 100644 --- a/level_3/controller/c/controller.c +++ b/level_3/controller/c/controller.c @@ -419,7 +419,7 @@ extern "C" { // If there is an error opening a signal descriptor, then do not handle signals. if (F_status_is_error(status)) { - f_signal_mask(SIG_UNBLOCK, &main->signal.set, 0); + f_thread_signal_mask(SIG_UNBLOCK, &main->signal.set, 0); f_signal_close(&main->signal); } -- 1.8.3.1