summaryrefslogtreecommitdiff
path: root/Src/subst.c
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2019-01-05 13:25:18 +0100
committerAxel Beckert <abe@deuxchevaux.org>2019-01-05 13:25:18 +0100
commit7e6a3d73413ad665a87cecf39d1dd05a91c1a31e (patch)
tree6e826685afbd476b340d311d2c08af12b3e81a8e /Src/subst.c
parentfeaf8570c138e4372ae9517f1f5658ae74640c41 (diff)
parent325fceab3b4ffa871777bacc420e0e8efcb0afb9 (diff)
downloadzsh-7e6a3d73413ad665a87cecf39d1dd05a91c1a31e.tar.gz
zsh-7e6a3d73413ad665a87cecf39d1dd05a91c1a31e.zip
New upstream release candidate 5.6.2-test-3
Merge branch 'upstream' at 'zsh-5.6.2-test-3' into branch debian
Diffstat (limited to 'Src/subst.c')
-rw-r--r--Src/subst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/subst.c b/Src/subst.c
index ff6750a59..60eb33390 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -2338,7 +2338,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags,
zerr("bad substitution");
return NULL;
}
- } else if (inbrace && inull(*s)) {
+ } else if (inbrace && inull(*s) && *s != Bnull) {
/*
* Handles things like ${(f)"$(<file)"} by skipping
* the double quotes. We don't need to know what was