]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Recognize "--" and explicitly reject options in wait builtin.
authorJilles Tjoelker <jilles@FreeBSD.org>
Fri, 15 Mar 2013 20:29:31 +0000 (20:29 +0000)
committerJilles Tjoelker <jilles@FreeBSD.org>
Fri, 15 Mar 2013 20:29:31 +0000 (20:29 +0000)
commitd70ad6f2d08e2ece89f0e6a96a5adc1c597755c7
tree84d8e3b2a4fff8196acae606e87e71bcee71109c
parentcd4f1ba89fe3d3c9279158361aeea82054664f87
sh: Recognize "--" and explicitly reject options in wait builtin.

If syntactically invalid job identifiers are to be taken as jobs that exited
with status 127, this should not apply to options, so that we can add
options later if need be.
bin/sh/jobs.c
tools/regression/bin/sh/builtins/wait6.0 [new file with mode: 0644]
tools/regression/bin/sh/builtins/wait7.0 [new file with mode: 0644]