From owner-freebsd-standards@FreeBSD.ORG Mon Sep 18 18:00:38 2006 Return-Path: X-Original-To: freebsd-standards@hub.freebsd.org Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FB8316A501 for ; Mon, 18 Sep 2006 18:00:38 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09D2743D45 for ; Mon, 18 Sep 2006 18:00:38 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8II0b3i083834 for ; Mon, 18 Sep 2006 18:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8II0bnQ083833; Mon, 18 Sep 2006 18:00:37 GMT (envelope-from gnats) Date: Mon, 18 Sep 2006 18:00:37 GMT Message-Id: <200609181800.k8II0bnQ083833@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Roman Bogorodskiy Cc: Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roman Bogorodskiy List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 18:00:38 -0000 The following reply was made to PR standards/99926; it has been noted by GNATS. From: Roman Bogorodskiy To: bug-followup@FreeBSD.org, ed@fxq.nl, Maxim Konovalov Cc: novel@FreeBSD.org Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch Date: Sun, 17 Sep 2006 21:54:29 +0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline IMHO, this patch is wrong. You just print the actual PID of the process, 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.diff Roman Bogorodskiy --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iQCVAwUBRQ3EFYB0WzgdqspGAQLbZgP/UOW0x3qc3HON7juGzZmIbpNdOnTRqvSh /NnPASI8WvD3+sX6fpJUrUvQk0oMNhI82YbkKU6NS/V2z1ww5EPIR/XvGiCJkIKW PIeGKxY6HQ243cPPaZ4WQIKIHLrW9xyJ59mx1tNeHjrBfalia2+ckJ6z1fNKFYK7 hGYHbFCAqrc= =OS8L -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--