Date: Sun, 5 Dec 2010 16:09:03 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh jobs.c Message-ID: <201012051609.oB5G9JB2094716@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2010-12-05 16:09:03 UTC
FreeBSD src repository
Modified files:
bin/sh jobs.c
Log:
SVN rev 216199 on 2010-12-05 16:09:03Z by jilles
sh: jobs -p: Do not ask the kernel for the pgid.
The getpgid() call will fail if the first process in the job has already
terminated, resulting in output of "-1".
The pgid of a job is always the pid of the first process in the job and
other code already relies on this.
Revision Changes Path
1.83 +1 -4 src/bin/sh/jobs.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012051609.oB5G9JB2094716>
