diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-12-03 10:54:36 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-12-03 10:54:36 +0000 |
commit | 7d672455bbc8f2142e9fa53db25974d012293b5e (patch) | |
tree | 272d7e610a6ef426cce50b835052d1496f63f9f4 /Src | |
parent | b456768681f56e1d7d2bc1a29e932fd936aff9fd (diff) | |
download | zsh-7d672455bbc8f2142e9fa53db25974d012293b5e.tar.gz zsh-7d672455bbc8f2142e9fa53db25974d012293b5e.tar.xz zsh-7d672455bbc8f2142e9fa53db25974d012293b5e.zip |
19269: 8-bit characters in character classes
Diffstat (limited to 'Src')
-rw-r--r-- | Src/pattern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/pattern.c b/Src/pattern.c index 71c6b3410..b62cbcd37 100644 --- a/Src/pattern.c +++ b/Src/pattern.c @@ -2265,7 +2265,7 @@ patmatchrange(char *range, int ch) DPUTS(1, "BUG: unknown metacharacter in range."); break; } - } else if (*range == ch) + } else if (STOUC(*range) == ch) return 1; } return 0; |