1
0
Fork 0
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:
Barton E. Schaefer 2016-11-29 12:35:57 -08:00
parent a9fe87e18c
commit 3ba86f4db4
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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");
}