1
0
Fork 0
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:
Peter Stephenson 2008-01-18 16:41:36 +00:00
parent 188da2f533
commit dae7a27fff
2 changed files with 7 additions and 2 deletions

View file

@ -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;