projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4c053
)
- Rich Felker writes:
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 19 May 2006 12:40:26 +0000
(12:40 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 19 May 2006 12:40:26 +0000
(12:40 -0000)
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.
editors/vi.c
patch
|
blob
|
history
diff --git
a/editors/vi.c
b/editors/vi.c
index 0ef894b8898b36bfce5e5b2351cabaa0a77c8b06..2aa537bad14988c32d096b3f9f26d1c7f84d3a46 100644
(file)
--- 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);