[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] patch-lua-5.1.3
- From: "Peter Cawley" <lua@...>
- Date: Wed, 7 May 2008 19:56:23 +0100
! /* check that it does not jump to a setlist count; this
! is tricky, because the count from a previous setlist may
! have the same value of an invalid setlist; so, we must
! go all the way back to the first of them (if any) */
! for (j = 0; j < dest; j++) {
! Instruction d = pt->code[dest-1];
! if (!(GET_OPCODE(d) == OP_SETLIST && GETARG_C(d) == 0)) break;
! }
Either I'm not looking at it right, or the for-loop body doesn't
reference the j variable
2008/5/7 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> A patch file fixing all known bugs in Lua 5.1.3 is now available at
> http://www.lua.org/ftp/patch-lua-5.1.3
>
> To apply this patch, get a pristine copy of Lua 5.1.3 and then do
> cd lua-5.1.3/src
> patch -p2 < patch-lua-5.1.3
>
> The bugs page will be updated shortly to match this patch file.
>
> All feedback welcome.
> --lhf
>