changed calls on signal to sigsys
authorKurt A. Shoens <kurt@ucbvax.Berkeley.EDU>
Thu, 2 Apr 1981 03:58:39 +0000 (19:58 -0800)
committerKurt A. Shoens <kurt@ucbvax.Berkeley.EDU>
Thu, 2 Apr 1981 03:58:39 +0000 (19:58 -0800)
SCCS-vsn: usr.bin/mail/names.c 1.2

usr/src/usr.bin/mail/names.c

index d83e1e3..b517741 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "rcv.h"
 
 
 #include "rcv.h"
 
-static char *SccsId = "@(#)names.c     1.1 %G%";
+static char *SccsId = "@(#)names.c     1.2 %G%";
 
 /*
  * Allocate a single element of a name list,
 
 /*
  * Allocate a single element of a name list,
@@ -306,9 +306,9 @@ outof(names, fo, hp)
                        wait(&s);
                        switch (pid = fork()) {
                        case 0:
                        wait(&s);
                        switch (pid = fork()) {
                        case 0:
-                               signal(SIGHUP, SIG_IGN);
-                               signal(SIGINT, SIG_IGN);
-                               signal(SIGQUIT, SIG_IGN);
+                               sigsys(SIGHUP, SIG_IGN);
+                               sigsys(SIGINT, SIG_IGN);
+                               sigsys(SIGQUIT, SIG_IGN);
                                close(0);
                                dup(image);
                                close(image);
                                close(0);
                                dup(image);
                                close(image);