summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-23 15:41:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-23 15:41:04 +0000
commite6980a3d0427d4bd5880372b220f6be5d2d02b57 (patch)
treea1d8b975f8f64c9fa85937d81ecbff78ee92463f /proc
parent202c098c5965ea8696ea2e8ee2f3e4011c03ea20 (diff)
entered into RCS
Diffstat (limited to 'proc')
-rw-r--r--proc/pgrp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc/pgrp.c b/proc/pgrp.c
index ec9cbbf9..f33c7037 100644
--- a/proc/pgrp.c
+++ b/proc/pgrp.c
@@ -307,6 +307,9 @@ S_proc_setpgrp (struct proc *callerp,
p->p_pgrp = pg ? pg : new_pgrp (pgid, p->p_pgrp->pg_session);
join_pgrp (p);
}
+ else
+ nowait_proc_newids (p->p_msgport, p->p_task, p->p_parent->p_pid,
+ pg->pg_pgid, !pg->pg_orphcnt);
return 0;
}