summaryrefslogtreecommitdiff
path: root/lang/lua53/version.mk
diff options
context:
space:
mode:
authoralnsn <alnsn@pkgsrc.org>2015-06-20 18:22:56 +0000
committeralnsn <alnsn@pkgsrc.org>2015-06-20 18:22:56 +0000
commit2d0a9386516cda4a5fd4f55b8f76a6115f775f10 (patch)
tree1a60110d17b29ca7229eeecc124c07fecd6e7060 /lang/lua53/version.mk
parent6f6f17651f5a40fd3f7ad50175efee9dfa85b995 (diff)
downloadpkgsrc-2d0a9386516cda4a5fd4f55b8f76a6115f775f10.tar.gz
Update lang/lua53 to 5.3.1.
The following bugs have been fixed (from http://www.lua.org/bugs.html): 1. string.format("%f") can cause a buffer overflow (only when 'lua_Number' is long double!). reported by Roberto on 13 Jan 2015. existed since 5.3. fixed in 5.3.1. 2. debug.getlocal on a coroutine suspended in a hook can crash the interpreter. reported by on 11 Feb 2015. existed since 5.2. fixed in 5.3.1. Example: See http://lua-users.org/lists/lua-l/2015-02/msg00146.html. 3. Suspended __le metamethod can give wrong result. reported by Eric Zhong on 07 Apr 2015. existed since 5.2. fixed in 5.3.1. Example: mt = {__le = function (a,b) coroutine.yield("yield"); return a.x <= b.x end} t1 = setmetatable({x=1}, mt) t2 = {x=2} co = coroutine.wrap(function (a,b) return t2 <= t1 end) co() print(co()) --> true (should be false) 4. Return hook may not see correct values for active local variables when function returns. reported by Philipp Janda and Peng Yi on 19 May 2015. existed since 5.0. fixed in 5.3.1. Example: See http://lua-users.org/lists/lua-l/2015-05/msg00376.html.
Diffstat (limited to 'lang/lua53/version.mk')
-rw-r--r--lang/lua53/version.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/lua53/version.mk b/lang/lua53/version.mk
index 98a730ca7c3..1f1d54c1624 100644
--- a/lang/lua53/version.mk
+++ b/lang/lua53/version.mk
@@ -1,6 +1,6 @@
-# $NetBSD: version.mk,v 1.1.1.1 2015/01/17 17:50:23 alnsn Exp $
+# $NetBSD: version.mk,v 1.2 2015/06/20 18:22:56 alnsn Exp $
-LUA_VERSION= 5.3.0
+LUA_VERSION= 5.3.1
LUA_VERSION_MAJOR= ${LUA_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\1/}
LUA_VERSION_MINOR= ${LUA_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\2/}