[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: gc and strings
- From: Paul Bleisch <pbleisch@...>
- Date: Thu, 28 Sep 2000 09:56:54 -0500
What version are these patches for?
Paul
> -----Original Message-----
> From: Edgar Toernig [mailto:froese@gmx.de]
> Sent: Tuesday, September 26, 2000 6:46 PM
> To: Multiple recipients of list
> Subject: Re: gc and strings
>
>
> Hi,
>
> Paul Bleisch wrote:
> > I was afraid you would say that. :) I am trying to track
> > down a table that seems to be disappearing. I get table A
> > (checked validity with lua_istable()) from table B and then
> > try to get a value from A but lua_istable() says it is no
> > longer a table (lua_istable() says no).
>
> Just a guess: have you applied the two 1-liner patches?
> The seconds one fixes a gettable bug.
>
> Ciao, ET.
>
>
> lgc.c: 155c155
> < return ismarked(clvalue(o)->mark);
> ---
> > return ismarked(clvalue(o));
>
> lvm.c: 123c123
> < const TObject *h = luaH_get(L, hvalue(t), t+1);
> ---
> > const TObject *h = luaH_get(L, hvalue(t), L->top-1);
>