Date: Mon, 18 Sep 2006 18:00:45 GMT From: Ed Schouten <ed@fxq.nl> To: freebsd-standards@FreeBSD.org Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch Message-ID: <200609181800.k8II0j0n083880@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/99926; it has been noted by GNATS. From: Ed Schouten <ed@fxq.nl> To: Roman Bogorodskiy <novel@FreeBSD.org> Cc: bug-followup@FreeBSD.org, Maxim Konovalov <maxim@FreeBSD.org> Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch Date: Mon, 18 Sep 2006 19:59:37 +0200 --d5xRKMqY7hkGAt+u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Roman Bogorodskiy <novel@FreeBSD.org> wrote: > IMHO, this patch is wrong. You just print the actual PID of the process, > not the PID of the group leader. >=20 > I have a simular patch, which however prints PID of the group obtained > with getpgid() for the appropriate process: >=20 > http://people.freebsd.org/~novel/patches/freebsd/src_bin_sh_jobs_p.diff It prints the PID of the first process, which is the process group leader. Yours, --=20 Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ --d5xRKMqY7hkGAt+u Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFDt6I52SDGA2eCwURAgtaAJ45L0JX+RpG6OUXsoGhYAtXDBbM7ACeN97w WjIhLBImhhJ+1GFGSh1dmbE= =o1Vn -----END PGP SIGNATURE----- --d5xRKMqY7hkGAt+u--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609181800.k8II0j0n083880>