diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-19 12:41:13 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-19 12:41:13 +0000 |
commit | 4009ed91f7cf27074c2b30cc8dc4b865169c5aef (patch) | |
tree | 773cddee39a7b89424f1ebb325dfd5d174b7b2cb /editors | |
parent | d9ed35c8b9fa8436db28e6e4000a83bedc85c62b (diff) | |
download | busybox-4009ed91f7cf27074c2b30cc8dc4b865169c5aef.tar.gz |
- Rich Felker writes:
SIGIOT is not defined in any standard i can find and it seems to be
useless (alias for SIGABRT) on linux. i put it in #ifdef but it's
probably best just to remove it and cut down the size a bit.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/vi.c b/editors/vi.c index 0c0c930b9..f271cc3e0 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -2180,7 +2180,9 @@ static void core_sig(int sig) signal(SIGQUIT, core_sig); signal(SIGILL, core_sig); signal(SIGTRAP, core_sig); +#ifdef SIGIOT signal(SIGIOT, core_sig); +#endif signal(SIGABRT, core_sig); signal(SIGFPE, core_sig); signal(SIGBUS, core_sig); |