From 219732719a089c9ddef004ef31b428071774133c Mon Sep 17 00:00:00 2001 From: aldot Date: Fri, 19 May 2006 12:41:13 +0000 Subject: - 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. git-svn-id: svn://busybox.net/trunk/busybox@15128 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- editors/vi.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3-55-g6feb