1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-11 20:31:11 +01:00

Felix, 11734: Memory leak and doc error.

This commit is contained in:
Bart Schaefer 2000-06-03 16:37:24 +00:00
parent 709ce3829c
commit 4c2601e753
3 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,10 @@
2000-06-03 Bart Schaefer <schaefer@brasslantern.com>
2000-06-03 Bart Schaefer <schaefer@zsh.org>
* 11736: Src/signals.c: Fix special scoping of TRAPEXIT.
* Felix: 11734: Src/Zle/compcore.c, Doc/Zsh/mod_complist.yo: Fix
one more memory leak and a doc mistake.
2000-06-02 Peter Stephenson <pws@cambridgesiliconradio.com>
* 11733: Doc/Makefile.in: Solaris sed was behaving strangely with

View file

@ -144,7 +144,7 @@ lines, respectively. In each of these cases the form with the uppercase
letter will be replaced with a string of fixed width, padded to the
right with spaces, while the lowercase form will not be padded.
If the option att(LISTPROMPT) is set, the completion code will not ask if
If the parameter tt(LISTPROMPT) is set, the completion code will not ask if
the list should be shown. Instead it immediately starts displaying the
list, stopping after the first screenful, showing the prompt at the bottom,
waiting for a keypress after temporarily switching to the tt(listscroll)

View file

@ -733,6 +733,7 @@ callcompfunc(char *s, char *fn)
}
compinsert = (useline < 0 ? tricat("tab ", "", compinsert) :
ztrdup(compinsert));
zsfree(compexact);
if (useexact)
compexact = ztrdup("accept");
else {