SIGN IN SIGN UP

gh-96652: Fix faulthandler chained signal without sigaction() (GH-96666)

Fix the faulthandler implementation of faulthandler.register(signal,
chain=True) if the sigaction() function is not available: don't call
the previous signal handler if it's NULL.
(cherry picked from commit c580a81af91af4b9df85e466f8b48c3c9c86c3df)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
3ae2be69cc7d99979e00d2ea9217496b8529bdd6
Parent: 6ee7a6b
Committed by GitHub <noreply@github.com> on 9/8/2022, 10:43:24 AM