mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
49102: Ignore dynamic directory name failure if NO_EXEC
This commit is contained in:
parent
2912139261
commit
d293c12de6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2021-06-28 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 49102: Src/subst.c: Dynamic directory expansion failure is
|
||||
ignored if NO_EXEC is set.
|
||||
|
||||
2021-06-22 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 48906: Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Etc/FAQ.yo,
|
||||
|
|
|
@ -765,7 +765,7 @@ filesubstr(char **namptr, int assign)
|
|||
*namptr = dyncat(res, ptr2+1);
|
||||
return 1;
|
||||
}
|
||||
if (isset(NOMATCH))
|
||||
if (isset(NOMATCH) && isset(EXECOPT))
|
||||
zerr("no directory expansion: ~[%s]", tmp);
|
||||
return 0;
|
||||
} else if (!inblank(str[1]) && isend(*ptr) &&
|
||||
|
|
Loading…
Reference in a new issue