diff options
author | tjr <tjr@FreeBSD.org> | 2002-07-19 08:09:04 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-07-19 08:09:04 +0000 |
commit | 6f7073eccfff9802f5282b17f14d246f99bee922 (patch) | |
tree | 24752195ccbd3015a4f1eda248e246c2af4499c0 /bin/sh/trap.c | |
parent | 641f1fb7d0b2461a61096b8e3cc44c93df53b05e (diff) | |
download | FreeBSD-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.c | 5 |
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; |