[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Lua 5.1 (work6) now available (for loop bug)
- From: "Joshua Jensen" <jjensen@...>
- Date: Wed, 18 May 2005 09:19:01 -0600
This is not a for loop bug. There is an error in db_errorfb().
static int db_errorfb (lua_State *L) {
int level;
int firstpart = 1; /* still before eventual `...' */
int arg;
lua_State *L1 = getthread(L, &arg);
lua_Debug ar;
if (lua_isnumber(L, arg+2)) {
level = lua_tointeger(L, arg+2);
level == -858993460 == 0xcccccccc
I can't remember what that means under the Visual C++ C runtime. I think it
is uninitialized memory.
Josh