Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2006 06:00:49 GMT
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch
Message-ID:  <200609250600.k8P60njX061308@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: Roman Bogorodskiy <novel@FreeBSD.org>
To: Ed Schouten <ed@fxq.nl>
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: Sun, 24 Sep 2006 09:58:11 +0000

 --TiqCXmo5T1hvSQQg
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
   Ed Schouten wrote:
 
 > * 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
 >=20
 > It prints the PID of the first process, which is the process group
 > leader.
 
 Hm, sorry, I missed that part of the patch. However I wasn't able to
 find out if the PID of the first process in group is the process group
 leader in the docs. Is there any difference between getpgrp() and first
 PID of the group?
 
 Roman Bogorodskiy
 
 --TiqCXmo5T1hvSQQg
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.4 (FreeBSD)
 
 iQCVAwUBRRZWs4B0WzgdqspGAQLzXwP+J+7hL8dxduCg8IxTYsql7ZjPUdSdgZ8J
 IpkA2NaKMmsm3vBB4bkHNxjuyDMPP3L3kNNEfiQOLEWF7PJ58lwhqlcMlxZYSW+t
 0jq918v682f6d7tTpDoxDhnNwN9AU33+yAhgPonlg/eo0mGJ+FvUzW8l8LUbsewn
 i9whWLpDhSw=
 =lIRb
 -----END PGP SIGNATURE-----
 
 --TiqCXmo5T1hvSQQg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609250600.k8P60njX061308>