From: Bernhard Reutner-Fischer Date: Fri, 19 May 2006 12:40:26 +0000 (-0000) Subject: - Rich Felker writes: X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6af4cd1a87d6399e164f393a6885424b1c0daf41;p=oweals%2Fbusybox.git - 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. --- diff --git a/editors/vi.c b/editors/vi.c index 0ef894b88..2aa537bad 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -2189,7 +2189,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);