[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-standards
Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by
From: Ed Schouten <ed () fxq ! nl>
Date: 2006-09-25 7:20:27
Message-ID: 200609250720.k8P7KRf0067223 () freefall ! freebsd ! org
[Download RAW message or body]
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, 25 Sep 2006 09:15:03 +0200
--FhHtzeYSSYv4Pwk7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Roman Bogorodskiy <novel@FreeBSD.org> wrote:
> > * Roman Bogorodskiy <novel@FreeBSD.org> wrote:
> > > IMHO, this patch is wrong. You just print the actual PID of the proce ss,
> > > not the PID of the group leader.
> > >
> > > I have a simular patch, which however prints PID of the group obtained
> > > with getpgid() for the appropriate process:
> > >
> > > http://people.freebsd.org/~novel/patches/freebsd/src_bin_sh_jobs_p.di ff
> >
> > 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?
No, process groups are identified by the process ID of the group leader.
--
Ed Schouten <ed@fxq.nl>
WWW: http://g-rave.nl/
--FhHtzeYSSYv4Pwk7
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFFF4H252SDGA2eCwURAhN3AJ9ZkChu/MlZYqjaTynjbqbXgp/xNACfYWIX
eW3S72rWkQdjynK9KcrhgAA =iqPR
-----END PGP SIGNATURE-----
--FhHtzeYSSYv4Pwk7--
_______________________________________________
freebsd-standards@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-standards
To unsubscribe, send any mail to "freebsd-standards-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic