-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve input preprocessor failure diagnostics (#328)
This fixes gwsw/less issue #327. * configure.ac: Check for sys/wait.h and for strsignal. * edit.c: Include <sys/wait.h> if available. (close_pipe): Always diagnose internal error with pclose. On POSIX-compatible systems, generate better diagnostics that distinguish between ordinary exit and signals, and do not diagnose SIGPIPE after the user types 'q' as that is normal and expected. * os.c (signal_message): New function.
- Loading branch information
Showing
3 changed files
with
52 additions
and
4 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