summaryrefslogtreecommitdiffstats
path: root/bin/sh/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/trap.c')
-rw-r--r--bin/sh/trap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/sh/trap.c b/bin/sh/trap.c
index 67f3077..810070a 100644
--- a/bin/sh/trap.c
+++ b/bin/sh/trap.c
@@ -281,10 +281,8 @@ setsignal(int signo)
}
*t = action;
sig = signal(signo, sigact);
-#ifdef BSD
if (sig != SIG_ERR && action == S_CATCH)
siginterrupt(signo, 1);
-#endif
}
@@ -340,9 +338,6 @@ void
onsig(int signo)
{
-#ifndef BSD
- signal(signo, onsig);
-#endif
if (signo == SIGINT && trap[SIGINT] == NULL) {
onint();
return;
OpenPOWER on IntegriCloud