]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Allow unsetting OPTIND.
authorjilles <jilles@FreeBSD.org>
Sun, 20 Nov 2011 21:48:50 +0000 (21:48 +0000)
committerjilles <jilles@FreeBSD.org>
Sun, 20 Nov 2011 21:48:50 +0000 (21:48 +0000)
commit1018bfcafa1ffa3a59e5bdd4b957a0282afc2f12
treefb3cfbbb7119330e418d411dac19dde88b90c1bd
parentd19e8d9a37f12e934f0fd8d4803dfa41b596be32
sh: Allow unsetting OPTIND.

Note that only assigning the decimal value 1 resets getopts, as before.
bin/sh/options.c
tools/regression/bin/sh/parameters/optind1.0 [new file with mode: 0644]