mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
17994: Globbing flags with no effect could hang the shell
This commit is contained in:
parent
e91067d966
commit
ab6f1a632d
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-12-10 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 17994: Src/pattern.c: A set of globbing flags with no effect
|
||||
could hang the shell as the pattern wasn't compiled consistently.
|
||||
|
||||
2002-12-06 Felix Rosencrantz <f_rosencrantz@yahoo.com>
|
||||
|
||||
* 17983: Src/Zle/zle_hist.c, Src/Zle/zle_params.c, Doc/Zsh/zle.yo:
|
||||
|
|
|
@ -688,7 +688,10 @@ patcompbranch(int *flagp)
|
|||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (!*patparse)
|
||||
break;
|
||||
else
|
||||
continue;
|
||||
} else if (isset(EXTENDEDGLOB) && *patparse == Hat) {
|
||||
/*
|
||||
* ^pat: anything but pat. For proper backtracking,
|
||||
|
|
Loading…
Reference in a new issue