mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
36604: fix getopts+shift calculation
This commit is contained in:
parent
1b5987cdb1
commit
8d5c0c7760
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2015-09-23 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 36604: Functions/Misc/zrecompile: fix getopts+shift calculation
|
||||||
|
|
||||||
2015-09-23 Daniel Shahaf <d.s@daniel.shahaf.name>
|
2015-09-23 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||||
|
|
||||||
* unposted: Src/Zle/compmatch.c: Followup to 36586: Change C99
|
* unposted: Src/Zle/compmatch.c: Followup to 36586: Change C99
|
||||||
|
|
|
@ -52,7 +52,7 @@ while getopts ":tqp" opt; do
|
||||||
fi
|
fi
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift OPTIND-${#tmp:-1}
|
shift OPTIND-${#tmp}-1
|
||||||
|
|
||||||
if [[ -n $check ]]; then
|
if [[ -n $check ]]; then
|
||||||
ret=1
|
ret=1
|
||||||
|
|
Loading…
Reference in a new issue