Skip to content

Commit

Permalink
Fix musl build. (The man page documents a typedef, not a struct.)
Browse files Browse the repository at this point in the history
  • Loading branch information
landley committed Feb 18, 2025
1 parent f415909 commit f6d6f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toys/pending/sh.c
Original file line number Diff line number Diff line change
Expand Up @@ -2792,7 +2792,7 @@ static void sig_fcall(int sig, siginfo_t *info, void *ucontext)
{
// Tell run_lines() to eval trap, keep signal blocked until trap func ends
dlist_add(&TT.nextsig, (void *)(long)sig);
sigaddset(&((struct ucontext_t *)ucontext)->uc_sigmask, sig);
sigaddset(&((ucontext_t *)ucontext)->uc_sigmask, sig);
}

// Set signal handler to exec string, or reset to default if NULL
Expand Down

0 comments on commit f6d6f93

Please sign in to comment.