]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r248349: sh: Recognize "--" and explicitly reject options in wait
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 3 Jul 2013 21:56:25 +0000 (21:56 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 3 Jul 2013 21:56:25 +0000 (21:56 +0000)
commitf87b0ce9e498afb95b9f822fcafaaf3c90bfa6c9
tree04a36536c8f40d9356753c7052fa348142e2975a
parent34df07b7c655f57328a55cc6b9a193d25d7f167b
MFC r248349: 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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@252617 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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]