lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

digging around in the Lua 5.1.2 source code I noticed that
lua_error() contains a call to lua_unlock() _after_ the
call to luaG_errormsg(), although luaG_errormsg() will never
return (and in fact the comment at the end of lua_error()
about the "return 0;" only to suppress warnings [because
luaG_errormsg(), and therefore lua_error(), never return]),
and the lua_unlock() never called...?

Regards, Colin