diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-08-19 14:24:40 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-08-19 14:24:40 +0000 |
commit | 4a70855108c2575ffed273cd06cbf6e07c28bfd9 (patch) | |
tree | 9561d050075b5627aee4b8bec7b4881bffb90f30 /proc/mgt.c | |
parent | bce616bbfd0b7af9c94f94e321e616c3d9e39888 (diff) |
Formerly mgt.c.~17~
Diffstat (limited to 'proc/mgt.c')
-rw-r--r-- | proc/mgt.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -177,13 +177,14 @@ S_proc_child (struct proc *parentp, leave_pgrp (childp); childp->p_pgrp = parentp->p_pgrp; join_pgrp (childp); + /* Not necessary to call newids ourself because join_pgrp does + it for us. */ } - - childp->p_parentset = 1; - if (childp->p_msgport) + else if (childp->p_msgport != MACH_PORT_NULL) nowait_proc_newids (childp->p_msgport, childp->p_task, childp->p_parent->p_pid, childp->p_pgrp->pg_pgid, !childp->p_pgrp->pg_orphcnt); + childp->p_parentset = 1; return 0; } |