1
0
Fork 0
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:
Peter Stephenson 2004-10-15 10:21:02 +00:00
parent cf89569c45
commit a82a2564dd
3 changed files with 237 additions and 104 deletions

View file

@ -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