-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Use sigaction to fix multiple test failures under ASan
This commit fixes multiple test failures when the coprocess, io and pty tests are run under ASan. Unlike the ksh93v- approach of implementing sigaction via a sh_signal function, this commit repurposes the (otherwise unused) signal wrapper function in libast, which already uses sigaction for signal handling. src/lib/libast/features/map.c: - Use the libast signal function if sigaction is present. - Add necessary sig.h include (the Mamfile was also updated to account for this).
- Loading branch information
Showing
2 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters