From a82a2564dd9c20592f8b7744f96e45a40dc5c6cb Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 15 Oct 2004 10:21:02 +0000 Subject: 20490: Don't assume null termination for test string in pattern matching. --- Src/zsh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/zsh.h') 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 -- cgit 1.4.1