diff options
author | christos <christos@NetBSD.org> | 2020-11-11 19:55:33 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2020-11-11 19:55:33 +0000 |
commit | 8501c01b33abba8d470d59e05105e7215f0a95a4 (patch) | |
tree | b5519f90a1b9caa879ab63d666219c9a01e14fcf /warp/sig.c | |
parent | c0e5f1acfc272507c6625a5ca9ba723a6b0a7df8 (diff) | |
download | bsdgames-darwin-8501c01b33abba8d470d59e05105e7215f0a95a4.tar.gz bsdgames-darwin-8501c01b33abba8d470d59e05105e7215f0a95a4.tar.zst bsdgames-darwin-8501c01b33abba8d470d59e05105e7215f0a95a4.zip |
use strchr, strrchr, random, more lint removal, savefile in /var/games/warp
not /usr/share/games/warp...
Diffstat (limited to 'warp/sig.c')
-rw-r--r-- | warp/sig.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -25,9 +25,6 @@ void sig_init(void) { -#ifdef lint - ; -#else sigignore(SIGINT); /* for inquiry of existence via kill call */ #ifdef SIGTTOU sigignore(SIGTTOU); @@ -38,8 +35,10 @@ sig_init(void) sigset(SIGQUIT, sig_catcher); sigset(SIGILL, sig_catcher); sigset(SIGFPE, sig_catcher); +#if 0 sigset(SIGBUS, sig_catcher); sigset(SIGSEGV, sig_catcher); +#endif sigset(SIGSYS, sig_catcher); sigset(SIGTERM, sig_catcher); } @@ -53,7 +52,6 @@ sig_init(void) sigset(SIGTSTP, stop_catcher); sigset(SIGSTOP, stop_catcher); #endif -#endif /* lint */ } #ifdef SIGTSTP |