Commit ed124a97 authored by Ken Thompson's avatar Ken Thompson

segfault

R=rsc
OCL=31467
CL=31467
parent f7ac3136
......@@ -1204,7 +1204,8 @@ oldname(Sym *s)
c->outer = n->closure;
n->closure = c;
c->closure = n;
funclit->cvars = list(c, funclit->cvars);
if(funclit != N)
funclit->cvars = list(c, funclit->cvars);
}
// return ref to closure var, not original
return n->closure;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment