diff options
author | Denis Vlasenko | 2008-03-17 08:29:08 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-03-17 08:29:08 +0000 |
commit | 3f165fa5b3b38fa4b321be94a97f06927f636fb1 (patch) | |
tree | d5e2d1045e714823c2e9a3ef912dcafeffcc9ebd /shell/ash.c | |
parent | 8e2cfec1cdf34068f2378aae9fe8f5ec0f821e21 (diff) | |
download | busybox-3f165fa5b3b38fa4b321be94a97f06927f636fb1.zip busybox-3f165fa5b3b38fa4b321be94a97f06927f636fb1.tar.gz |
libbb: introduce and use sigprocmask_allsigs and sigaction_set.
libbb: rename sig_pause to wait_for_any_sig.
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index 6f675ce..0699091 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -273,13 +273,11 @@ static void raise_interrupt(void) { int i; - sigset_t mask; intpending = 0; /* Signal is not automatically unmasked after it is raised, * do it ourself - unmask all signals */ - sigemptyset(&mask); - sigprocmask(SIG_SETMASK, &mask, NULL); + sigprocmask_allsigs(SIG_UNBLOCK); /* pendingsig = 0; - now done in onsig() */ i = EXSIG; |