mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
24406: use deep copy of Cline structure to avoid recursion problem
This commit is contained in:
parent
188da2f533
commit
dae7a27fff
2 changed files with 7 additions and 2 deletions
|
@ -2003,8 +2003,8 @@ sub_join(Cline a, Cline b, Cline e, int anew)
|
|||
ca = a->prefix;
|
||||
|
||||
while (n) {
|
||||
e->prefix = cp_cline(n, 0);
|
||||
a->prefix = cp_cline(ca, 0);
|
||||
e->prefix = cp_cline(n, 1);
|
||||
a->prefix = cp_cline(ca, 1);
|
||||
|
||||
if (anew) {
|
||||
int f = e->flags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue