DUALNUM: Handle integer type in x86/x64 interpreter and libraries.
This commit is contained in:
@@ -217,7 +217,7 @@ static const char *searchpath (lua_State *L, const char *name,
|
||||
lua_pushliteral(L, ""); /* error accumulator */
|
||||
while ((path = pushnexttemplate(L, path)) != NULL) {
|
||||
const char *filename = luaL_gsub(L, lua_tostring(L, -1),
|
||||
LUA_PATH_MARK, name);
|
||||
LUA_PATH_MARK, name);
|
||||
lua_remove(L, -2); /* remove path template */
|
||||
if (readable(filename)) /* does file exist and is readable? */
|
||||
return filename; /* return that file name */
|
||||
|
||||
Reference in New Issue
Block a user