From f3f8537cfa05414ad14494e809d9ebfeef86ebbc Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 7 Mar 2017 10:43:58 +0000 Subject: 40760: Always tokenize unquoted - to Dash. This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 3532aa044..8fcf7e069 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2017-03-07 Peter Stephenson + + * 40760: Src/cond.c, Src/exec.c, Src/glob.c, Src/lex.c, + Src/math.c, Src/parse.c, Src/pattern.c, Src/subst.c, + Src/utils.c, Src/zsh.h, Test/D02glob.ztst: Always tokenise '-' + to Dash to eliminate niggles with range matches in complicated + contexts. Match both - or Dash in contexts that don't care. + 2017-03-07 Mikael Magnusson * 40780: Completion/Unix/Command/_mount: Don't use =~ for simple -- cgit v1.2.3