diff options
| author | Peter Stephenson <pws@zsh.org> | 2016-06-22 14:03:38 +0100 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2016-06-22 14:03:38 +0100 |
| commit | 7ae2deb4378d50d81774e73c2574375a0f934797 (patch) | |
| tree | cf1985be8f28d804b23121a12a9f5014851c4a66 | |
| parent | 38746: Fix suffix alias expansion recursion. (diff) | |
| download | zsh-7ae2deb4378d50d81774e73c2574375a0f934797.tar zsh-7ae2deb4378d50d81774e73c2574375a0f934797.tar.gz zsh-7ae2deb4378d50d81774e73c2574375a0f934797.tar.bz2 zsh-7ae2deb4378d50d81774e73c2574375a0f934797.tar.lz zsh-7ae2deb4378d50d81774e73c2574375a0f934797.tar.xz zsh-7ae2deb4378d50d81774e73c2574375a0f934797.tar.zst zsh-7ae2deb4378d50d81774e73c2574375a0f934797.zip | |
unposted: remove flag unneded from previous fix
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Src/lex.c | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2016-06-22 Peter Stephenson <p.stephenson@samsung.com> + * unposted: Src/lex.c: remove unused and no longer defined flag + from experiments for previous fix. + * 38746: Src/lex.c, Test/A02alias.ztst: Delay marking a suffix alias as free until the last minute. @@ -1842,8 +1842,7 @@ checkalias(void) if ((suf = strrchr(zshlextext, '.')) && suf[1] && suf > zshlextext && suf[-1] != Meta && (an = (Alias)sufaliastab->getnode(sufaliastab, suf+1)) && - !an->inuse && incmdpos && - !(inbufflags & INP_ALSUFF)) { + !an->inuse && incmdpos) { inpush(dupstring(zshlextext), INP_ALIAS, an); inpush(" ", INP_ALIAS, NULL); inpush(an->text, INP_ALIAS, NULL); |
