diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2012-02-09 20:12:33 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2012-02-09 20:12:33 +0000 |
| commit | 3489c1579916c588bfda59b931620a96c86c4a34 (patch) | |
| tree | 7fa160acf60b041c8079bb2d95b0bbff82ebe6d8 /Src | |
| parent | fix typo in ChangeLog (diff) | |
| download | zsh-3489c1579916c588bfda59b931620a96c86c4a34.tar zsh-3489c1579916c588bfda59b931620a96c86c4a34.tar.gz zsh-3489c1579916c588bfda59b931620a96c86c4a34.tar.bz2 zsh-3489c1579916c588bfda59b931620a96c86c4a34.tar.lz zsh-3489c1579916c588bfda59b931620a96c86c4a34.tar.xz zsh-3489c1579916c588bfda59b931620a96c86c4a34.tar.zst zsh-3489c1579916c588bfda59b931620a96c86c4a34.zip | |
30193: remnulargs() after poking into string in case length changes
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/Zle/compcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index b1de6c6cc..39d41bdb5 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -2303,10 +2303,10 @@ addmatches(Cadata dat, char **argv) strcpy(tmp + llpl + gfl + is, lsuf); tokenize(tmp); - remnulargs(tmp); if (haswilds(tmp)) { if (is) tmp[llpl + gfl] = Star; + remnulargs(tmp); if ((cp = patcompile(tmp, 0, NULL))) haspattern = 1; } |
