diff options
| author | Keith Packard <keithp@keithp.com> | 2009-01-05 21:43:44 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-01-05 21:43:44 -0800 | 
| commit | 1ccfe0887c794397131ab1c986c25f66eea86a6c (patch) | |
| tree | e2fe3c4b269a3bdefcc8df15e84227d503dcec07 | |
| parent | 7c03937b36aac82b08f4ea0c6da33a994fe15ec7 (diff) | |
Have S51 ignore SIGINT while running under sdcdb.
This prevents keyboard interrupts from accidentally stopping
s51.
Signed-off-by: Keith Packard <keithp@keithp.com>
| -rw-r--r-- | s51/s51-main.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/s51/s51-main.c b/s51/s51-main.c index eef55157..96429988 100644 --- a/s51/s51-main.c +++ b/s51/s51-main.c @@ -150,7 +150,7 @@ main(int argc, char **argv)  				perror("fdopen");  				exit(1);  			} -			vec.sv_handler = s51_sigint; +			vec.sv_handler = SIG_IGN;  			vec.sv_mask = 0;  			vec.sv_flags = 0;  			sigvec(SIGINT, &vec, &ovec); | 
