summary refs log tree commit diff
path: root/src/funcs/pushd
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-07-13 14:06:35 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-08-13 20:53:43 +0800
commit2e5842258bd5b252ffdaa630db09c9a19a9717ca (patch)
tree7062c78c1b0187f9090994bdd5b9572c480fc2c8 /src/funcs/pushd
parentman: Fix description of getopts when last argument reached (diff)
downloaddash-2e5842258bd5b252ffdaa630db09c9a19a9717ca.tar.gz
dash-2e5842258bd5b252ffdaa630db09c9a19a9717ca.zip
builtin: Reset t_wp_op in testcmd
The global variable t_wp_op needs to be reset every time testcmd
is called or it may cause incorrect parsing of the arguments.

Reported-by: Martijn Dekker <martijn@inlv.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs/pushd')
0 files changed, 0 insertions, 0 deletions