diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-12-19 19:24:23 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-12-19 19:24:23 +0000 |
commit | 8ce66f53575efd716b32ca3d719a954c0584333d (patch) | |
tree | ecde4780c9191420e05fa9abcccdf825bfc160cb /usr.bin | |
parent | ffe0841aa86a1ac8085a9c1079b7e4659509f97e (diff) |
Pass SIGINT to dc process.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/bc/bc.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/bc/bc.y b/usr.bin/bc/bc.y index 5db40742c5b..5d1cf79bc2b 100644 --- a/usr.bin/bc/bc.y +++ b/usr.bin/bc/bc.y @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: bc.y,v 1.20 2003/12/02 09:00:07 otto Exp $ */ +/* $OpenBSD: bc.y,v 1.21 2003/12/19 19:24:22 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> @@ -31,7 +31,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: bc.y,v 1.20 2003/12/02 09:00:07 otto Exp $"; +static const char rcsid[] = "$OpenBSD: bc.y,v 1.21 2003/12/19 19:24:22 otto Exp $"; #endif /* not lint */ #include <ctype.h> @@ -1092,7 +1092,6 @@ main(int argc, char *argv[]) close(p[0]); close(p[1]); } else { - signal(SIGINT, SIG_IGN); close(STDIN_FILENO); dup(p[0]); close(p[0]); |