summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8f26eb6)
SCCS-vsn: libexec/telnetd/telnetd.c 4.26
-static char sccsid[] = "@(#)telnetd.c 4.25 (Berkeley) 83/07/06";
+static char sccsid[] = "@(#)telnetd.c 4.26 (Berkeley) 83/08/06";
if ((pid = fork()) < 0)
printf("Out of processes\n");
else if (pid == 0) {
if ((pid = fork()) < 0)
printf("Out of processes\n");
else if (pid == 0) {
- signal(SIGCHLD, SIG_IGN);
+ signal(SIGCHLD, SIG_DFL);
doit(s2, &from);
}
close(s2);
doit(s2, &from);
}
close(s2);