diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-19 19:38:46 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-19 19:38:46 +0000 |
commit | cf7cf622046b0e1a2817e1da4aa8bc6f513b0153 (patch) | |
tree | 30bc88b5a107bfe6d5f751ca722ed5a49a0b5fd8 /include | |
parent | 0764a7f72d7e5490b85dd0816bef8e56f6216d92 (diff) | |
download | busybox-w32-cf7cf622046b0e1a2817e1da4aa8bc6f513b0153.tar.gz busybox-w32-cf7cf622046b0e1a2817e1da4aa8bc6f513b0153.tar.bz2 busybox-w32-cf7cf622046b0e1a2817e1da4aa8bc6f513b0153.zip |
*: 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.h | 4 |
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); | |||
278 | 278 | ||
279 | 279 | ||
280 | enum { | 280 | enum { |
281 | /* bb_signals(BB_SIGS_FATAL, handler) catches all signals which | 281 | /* bb_signals(BB_FATAL_SIGS, handler) catches all signals which |
282 | * otherwise would kill us, except for those resulting from bugs: | 282 | * otherwise would kill us, except for those resulting from bugs: |
283 | * SIGSEGV, SIGILL, SIGFPE. | 283 | * SIGSEGV, SIGILL, SIGFPE. |
284 | * Other fatal signals not included (TODO?): | 284 | * Other fatal signals not included (TODO?): |
@@ -288,7 +288,7 @@ enum { | |||
288 | * SIGSYS Bad argument to routine | 288 | * SIGSYS Bad argument to routine |
289 | * SIGTRAP Trace/breakpoint trap | 289 | * SIGTRAP Trace/breakpoint trap |
290 | */ | 290 | */ |
291 | BB_SIGS_FATAL = 0 | 291 | BB_FATAL_SIGS = 0 |
292 | + (1 << SIGHUP) | 292 | + (1 << SIGHUP) |
293 | + (1 << SIGINT) | 293 | + (1 << SIGINT) |
294 | + (1 << SIGTERM) | 294 | + (1 << SIGTERM) |