1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Update Lua to 5.4.7

This commit is contained in:
dmiller
2025-04-14 17:20:42 +00:00
parent f4f5cba43d
commit 58ef6f6dac
30 changed files with 365 additions and 255 deletions

View File

@@ -417,9 +417,9 @@ LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
o = index2value(L, idx); /* previous call may reallocate the stack */
}
if (len != NULL)
*len = vslen(o);
*len = tsslen(tsvalue(o));
lua_unlock(L);
return svalue(o);
return getstr(tsvalue(o));
}