include fixes
[unix-history] / usr / src / bin / csh / sem.c
index 91825da..53b77f2 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)sem.c 4.1 %G%";
+static char *sccsid = "@(#)sem.c 4.3 %G%";
 
 #include "sh.h"
 #include "sh.proc.h"
 
 #include "sh.h"
 #include "sh.proc.h"
@@ -151,9 +151,13 @@ execute(t, wanttty, pipein, pipeout)
                                child++;
                                if (setintr) {
                                        setintr = 0;
                                child++;
                                if (setintr) {
                                        setintr = 0;
+#ifdef notdef
                                        sigsys(SIGCHLD, SIG_DFL);
                                        sigsys(SIGCHLD, SIG_DFL);
-                                       sigsys(SIGINT, ignint ? SIG_IGN : vffree);
-                                       sigsys(SIGQUIT, ignint ? SIG_IGN : SIG_DFL);
+#endif
+                                       sigsys(SIGINT,
+                                           ignint ? SIG_IGN : vffree);
+                                       sigsys(SIGQUIT,
+                                           ignint ? SIG_IGN : SIG_DFL);
                                        if (wanttty >= 0) {
                                                sigsys(SIGTSTP, SIG_DFL);
                                                sigsys(SIGTTIN, SIG_DFL);
                                        if (wanttty >= 0) {
                                                sigsys(SIGTSTP, SIG_DFL);
                                                sigsys(SIGTTIN, SIG_DFL);