mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
40034: clear badcshglob when ignoring errors
This commit is contained in:
parent
a9fe87e18c
commit
3ba86f4db4
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2016-11-29 Barton E. Schaefer <schaefer@brasslantern.com>
|
||||
|
||||
* 40034: Src/subst.c: clear badcshglob when ignoring errors
|
||||
|
||||
* unposted: README: example describing 40032
|
||||
|
||||
* 40032: Src/params.c: consistency in handling of subscript
|
||||
|
|
|
@ -411,7 +411,9 @@ globlist(LinkList list, int nountok)
|
|||
next = nextnode(node);
|
||||
zglob(list, node, nountok);
|
||||
}
|
||||
if (badcshglob == 1)
|
||||
if (noerrs)
|
||||
badcshglob = 0;
|
||||
else if (badcshglob == 1)
|
||||
zerr("no match");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue