Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--agent/system/Darwin/tcf/context-darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/system/Darwin/tcf/context-darwin.c b/agent/system/Darwin/tcf/context-darwin.c
index 2b6cb508..a91b59cf 100644
--- a/agent/system/Darwin/tcf/context-darwin.c
+++ b/agent/system/Darwin/tcf/context-darwin.c
@@ -216,7 +216,7 @@ int context_continue(Context * ctx) {
errno = err;
return -1;
}
- ctx->pending_signals &= ~(1 << signal);
+ sigset_set(&ctx->pending_signals, signal, 0);
if (syscall_never_returns(ctx)) {
EXT(ctx)->syscall_enter = 0;
EXT(ctx)->syscall_exit = 0;

Back to the top