URL: <https://savannah.gnu.org/support/?110767>
Summary: make 4.4 ignores SIGPIPE --> ./test-execute.sh 3 and 4 fail Project: GNU M4 Submitter: kanavin Submitted: Sat 12 Nov 2022 02:44:17 PM UTC Category: None Priority: 5 - Normal Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sat 12 Nov 2022 02:44:17 PM UTC By: Alexander Kanavin <kanavin> Just released make 4.4 issues this prior to running the rules: rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7ff547edbaf0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 The attached patch (against m4 1.4.19) restores the default handler prior to running the tests which allows them to pass. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sat 12 Nov 2022 02:44:17 PM UTC Name: 0001-test-execute-main.c-set-default-handler-for-SIGPIPE-.patch Size: 1KiB By: kanavin <http://savannah.gnu.org/support/download.php?file_id=53951> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110767> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/