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
3d6e6beb0d85f064a19e60012d140b5bc4ea0cca
Parent: a3d5ecb
Committed by GitHub <noreply@github.com> on 9/8/2022, 10:47:07 AM