this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix signal number used in sigexc.c

+4 -2
+4 -2
src/kernel/emulation/linux/signal/sigexc.c
··· 459 459 // Pass the signal to the application handler or emulate the effects of the signal if SIG_DFL is set. 460 460 if (bsd_signum) 461 461 { 462 - bsd_sig_handler* handler = sig_handlers[bsd_signum]; 462 + const int linux_signum = signum_bsd_to_linux(bsd_signum); 463 + 464 + bsd_sig_handler* handler = sig_handlers[linux_signum]; 463 465 if (handler == SIG_DFL || handler == SIG_ERR) 464 466 { 465 467 /* ··· 491 493 } 492 494 else if (handler != SIG_IGN) 493 495 { 494 - handler_linux_to_bsd(signum_bsd_to_linux(bsd_signum), info, ctxt); 496 + handler_linux_to_bsd(linux_signum, info, ctxt); 495 497 } 496 498 } 497 499 }