summaryrefslogtreecommitdiffstats
path: root/bin/sh/trap.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-07-19 08:09:04 +0000
committertjr <tjr@FreeBSD.org>2002-07-19 08:09:04 +0000
commit6f7073eccfff9802f5282b17f14d246f99bee922 (patch)
tree24752195ccbd3015a4f1eda248e246c2af4499c0 /bin/sh/trap.c
parent641f1fb7d0b2461a61096b8e3cc44c93df53b05e (diff)
downloadFreeBSD-src-6f7073eccfff9802f5282b17f14d246f99bee922.zip
FreeBSD-src-6f7073eccfff9802f5282b17f14d246f99bee922.tar.gz
Remove broken and incomplete support for old releases of System V,
don't support system that implement getcwd(3) with a pipe to /bin/pwd.
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