1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

20149: improve prompt-reset code

20150: commit ancient memory leak fix(?) in completion
This commit is contained in:
Peter Stephenson 2004-07-11 22:53:01 +00:00
parent f63b677f53
commit 86ae90bc1c
8 changed files with 40 additions and 24 deletions

View file

@ -245,7 +245,7 @@ execselect(Estate state, UNUSED(int do_exec))
int oef = errflag;
isfirstln = 1;
str = (char *)zleread(prompt3, NULL, 0, ZLCON_SELECT);
str = (char *)zleread(&prompt3, NULL, 0, ZLCON_SELECT);
if (errflag)
str = NULL;
errflag = oef;