-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AST singal(3) name conflict with ASan (#712)
This commit fixes multiple test failures when the coprocess, io and pty tests are run under ASan. The signal(3) wrapper causes a name conflict, similar to how the AST glob functions did before being fixed in 01c01fe. Renaming the wrapper function to _ast_signal allows ksh to use sigaction(3) via AST signal(3) under ASan without encountering a name conflict. src/lib/libast/features/map.c: - Rename the signal function to _ast_signal via a #define (subject to the same preprocessor conditions that trigger the define of AST signal(3) in signal.c). - Add necessary sig.h include for the _std_signal iffe test result (the Mamfile was also updated to account for this).
- Loading branch information
Showing
4 changed files
with
20 additions
and
23 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
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