1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

31158: following a wildcard with a repetition produces a bad pattern error

This commit is contained in:
Bart Schaefer 2013-03-19 15:05:35 +00:00
parent 146374a2af
commit 0c226a6282
2 changed files with 13 additions and 3 deletions

View file

@ -1,6 +1,16 @@
2013-03-19 Bart Schaefer <schaefer@zsh.org>
* 31158: Src/pattern.c: following a wildcard with a repetition
produces a bad pattern error instead of an unbounded search
2013-03-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31156: improved math context completion: functions.
* 31156: Completion/Zsh/Context/_math,
Completion/Zsh/Context/_zcalc_line, Completion/Zsh/Type/.distfile,
Completion/Zsh/Type/_math_params,
Completion/Zsh/Type/_module_math_func,
Completion/Zsh/Type/_user_math_func: improved math context
completion: functions.
* 31155: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: minor
extra zcalc features and documentation.
@ -615,5 +625,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5824 $
* $Revision: 1.5825 $
*****************************************************

View file

@ -1474,7 +1474,7 @@ patcomppiece(int *flagp)
}
/* too much at once doesn't currently work */
if (kshchar && pound)
if (kshchar && (pound || count))
return 0;
if (kshchar == '*') {