Skip to content

Commit 6e9d3b9

Browse files
Remove duplicate native signal stats increments (#7615)
Removes a pair of duplicate signal stats increments from execute_native_handler() which were accidentally added in PR #6815. Fixes a typo in a signal header.
1 parent 5540df0 commit 6e9d3b9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

core/unix/signal.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6752,8 +6752,6 @@ execute_native_handler(dcontext_t *dcontext, int sig, sigframe_rt_t *our_frame,
67526752
if (!TEST(SA_NOMASK, (info->sighand->action[sig]->flags)))
67536753
kernel_sigaddset(&blocked, sig);
67546754

6755-
RSTATS_INC(num_signals);
6756-
RSTATS_INC(num_native_signals);
67576755
if (reuse_cur_frame) {
67586756
/* We've determined that we can reuse the current signal frame to
67596757
* deliver sig to the native signal handler. We want to simply jump

core/unix/signal_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ typedef struct _sighand_info_t {
422422
} sighand_info_t;
423423

424424
typedef struct _thread_sig_info_t {
425-
/* A pointer to handler info shared in a CLONG_SIGHAND group. */
425+
/* A pointer to handler info shared in a CLONE_SIGHAND group. */
426426
sighand_info_t *sighand;
427427

428428
/* We save the old sigaction across a sigaction syscall so we can return it

0 commit comments

Comments
 (0)