Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2013 17:25:53 GMT
From:      jilles@FreeBSD.org
To:        jilles@FreeBSD.org, freebsd-standards@FreeBSD.org, jilles@FreeBSD.org
Subject:   Re: standards/176916: [patch] sh(1): implement multiple arguments to wait builtin
Message-ID:  <201303151725.r2FHPrNc085407@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: [patch] sh(1): implement multiple arguments to wait builtin

Responsible-Changed-From-To: freebsd-standards->jilles
Responsible-Changed-By: jilles
Responsible-Changed-When: Fri Mar 15 17:13:47 UTC 2013
Responsible-Changed-Why: 
sh(1) is my area.

The wait builtin is indeed required to accept multiple operands
and to treat unknown process IDs as known process IDs that
exited with status 127.

The way you patched getjob seems incorrect as it will still
print an error message. Also, I would like to avoid calling
setjmp().

I will also implement "--" handling and rejection of unknown
options in "wait" first.

About working around the lack of these features, invoking
"wait" with multiple operands is equivalent to invoking it
multiple times with one operand each. Passing unknown process
IDs can be avoided iff there are no trap handlers that do
not exit.

http://www.freebsd.org/cgi/query-pr.cgi?pr=176916



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