summaryrefslogtreecommitdiff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-10-15 10:21:02 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-10-15 10:21:02 +0000
commita82a2564dd9c20592f8b7744f96e45a40dc5c6cb (patch)
tree737f167806f76fc7d5fe42cd43df036a89d06a67 /Src/zsh.h
parentcf89569c454fb6c193108748963228f553ed3a67 (diff)
downloadzsh-a82a2564dd9c20592f8b7744f96e45a40dc5c6cb.tar.gz
zsh-a82a2564dd9c20592f8b7744f96e45a40dc5c6cb.zip
20490: Don't assume null termination for test string in pattern matching.
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 8d27e2014..b5685e32b 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -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