Package: lua50 Version: 5.0.2-5 Severity: normal Tags: patch
Here's the patch to solve this issue. Please compare with original upstream version -- this call to lua_settop() does not belong. --- lua50-5.0.2/src/lua/lua.c.orig 2006-06-05 23:11:41.000000000 -0700 +++ lua50-5.0.2/src/lua/lua.c 2006-06-05 23:12:00.000000000 -0700 @@ -201,7 +201,6 @@ int status; int base = lua_gettop(L) - narg; /* function index */ do_path(); - lua_settop(L,base); lua_pushliteral(L, "_TRACEBACK"); lua_rawget(L, LUA_GLOBALSINDEX); /* get traceback function */ lua_insert(L, base); /* put it under chunk and args */ -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.21 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages lua50 depends on: ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an ii liblua50 5.0.2-5 Main interpreter library for the L ii liblualib50 5.0.2-5 Extension library for the Lua 5.0 ii libreadline4 4.3-11 GNU readline and history libraries -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]