mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
20490: Don't assume null termination for test string in pattern matching.
This commit is contained in:
parent
cf89569c45
commit
a82a2564dd
3 changed files with 237 additions and 104 deletions
|
@ -1109,6 +1109,7 @@ struct patprog {
|
|||
#define PAT_ZDUP 0x0100 /* Copy pattern in real memory */
|
||||
#define PAT_NOTSTART 0x0200 /* Start of string is not real start */
|
||||
#define PAT_NOTEND 0x0400 /* End of string is not real end */
|
||||
#define PAT_HAS_EXCLUDP 0x0800 /* (internal): top-level path1~path2. */
|
||||
|
||||
/* Globbing flags: lower 8 bits gives approx count */
|
||||
#define GF_LCMATCHUC 0x0100
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue