diff options
author | Peter Stephenson <pws@zsh.org> | 2015-05-15 09:58:17 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-05-15 09:58:17 +0100 |
commit | 59a874f94eea24f3697356d536541aa80b7068bf (patch) | |
tree | cce53405be35f3484724b4eb30f5424cd74c51c2 /Src | |
parent | e86720190efc6550086e6a733394cb393cd0da4d (diff) | |
download | zsh-59a874f94eea24f3697356d536541aa80b7068bf.tar.gz zsh-59a874f94eea24f3697356d536541aa80b7068bf.tar.xz zsh-59a874f94eea24f3697356d536541aa80b7068bf.zip |
35151: improved check for parameter q and b flags
Diffstat (limited to 'Src')
-rw-r--r-- | Src/subst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/subst.c b/Src/subst.c index bf80495bd..5a12e127f 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -1845,7 +1845,8 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags) break; case 'q': - if (quotetype == QT_DOLLARS) + if (quotetype == QT_DOLLARS || + quotetype == QT_BACKSLASH_PATTERN) goto flagerr; if (s[1] == '-') { if (quotemod) |