Module Name: src
Committed By: kre
Date: Sun Aug 30 19:45:05 UTC 2020
Modified Files:
src/bin/sh: jobs.c
Log Message:
Since "struct job" gained a pgrp member some time ago now, use it
instead of simply assuming that the pid of the first (leftmost) process
in a pipeline is the pgrp - someday we may switch things around and
create pipelines right to left instead, which has several advantages,
but which would invalidate the assumption which was being made here.
To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/bin/sh/jobs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.