aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-19 19:38:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-19 19:38:46 +0000
commitcf7cf622046b0e1a2817e1da4aa8bc6f513b0153 (patch)
tree30bc88b5a107bfe6d5f751ca722ed5a49a0b5fd8 /include
parent0764a7f72d7e5490b85dd0816bef8e56f6216d92 (diff)
downloadbusybox-cf7cf622046b0e1a2817e1da4aa8bc6f513b0153.tar.gz
*: s/BB_SIGS_FATAL/BB_FATAL_SIGS/ (latter proved easier to remember)
top: fix "top </dev/null" case (by Cristian Ionescu-Idbohrn)
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 654643743..d059ac9de 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -278,7 +278,7 @@ char *xmalloc_follow_symlinks(const char *path);
enum {
- /* bb_signals(BB_SIGS_FATAL, handler) catches all signals which
+ /* bb_signals(BB_FATAL_SIGS, handler) catches all signals which
* otherwise would kill us, except for those resulting from bugs:
* SIGSEGV, SIGILL, SIGFPE.
* Other fatal signals not included (TODO?):
@@ -288,7 +288,7 @@ enum {
* SIGSYS Bad argument to routine
* SIGTRAP Trace/breakpoint trap
*/
- BB_SIGS_FATAL = 0
+ BB_FATAL_SIGS = 0
+ (1 << SIGHUP)
+ (1 << SIGINT)
+ (1 << SIGTERM)