SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,13 @@
unpack moved to table.unpack in lua5.2
--- lua/cjson/util.lua.orig Mon May 16 22:58:17 2016
+++ lua/cjson/util.lua Mon May 16 23:05:46 2016
@@ -4,6 +4,8 @@ local json = require "cjson"
--
-- Mark Pulford <mark@kyne.com.au>
+local unpack = unpack or table.unpack
+
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns: