projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c03937
)
Have S51 ignore SIGINT while running under sdcdb.
author
Keith Packard
<keithp@keithp.com>
Tue, 6 Jan 2009 05:43:44 +0000
(21:43 -0800)
committer
Keith Packard
<keithp@keithp.com>
Tue, 6 Jan 2009 05:43:44 +0000
(21:43 -0800)
This prevents keyboard interrupts from accidentally stopping
s51.
Signed-off-by: Keith Packard <keithp@keithp.com>
s51/s51-main.c
patch
|
blob
|
history
diff --git
a/s51/s51-main.c
b/s51/s51-main.c
index eef55157e2c8ead33bbca85695fb2e0439acac1b..96429988d5f4c16662d71667d3a669c98ecf7928 100644
(file)
--- 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);