diff options
author | Tom Callaway <spot@fedoraproject.org> | 2017-10-29 20:35:10 -0400 |
---|---|---|
committer | Tom Callaway <spot@fedoraproject.org> | 2017-10-29 20:35:10 -0400 |
commit | 8a0d5153089bcc081fd088027b52b4c90c76b769 (patch) | |
tree | 94ad4f0c4548690a9a8bdd1f411f34876429382f | |
parent | d78b71f63f4f2a6ce157bf565b628c936919b8fe (diff) | |
download | lua-8a0d5153089bcc081fd088027b52b4c90c76b769.tar.gz lua-8a0d5153089bcc081fd088027b52b4c90c76b769.tar.xz lua-8a0d5153089bcc081fd088027b52b4c90c76b769.zip |
missing patchmaster
-rw-r--r-- | lua-5.3.4-bug5.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua-5.3.4-bug5.patch b/lua-5.3.4-bug5.patch new file mode 100644 index 0000000..7d757c2 --- /dev/null +++ b/lua-5.3.4-bug5.patch @@ -0,0 +1,14 @@ +diff -up lua-5.3.4/src/lgc.c.bug5 lua-5.3.4/src/lgc.c +--- lua-5.3.4/src/lgc.c.bug5 2017-10-29 20:30:18.824283152 -0400 ++++ lua-5.3.4/src/lgc.c 2017-10-29 20:31:12.133021523 -0400 +@@ -643,8 +643,9 @@ static void clearkeys (global_State *g, + for (n = gnode(h, 0); n < limit; n++) { + if (!ttisnil(gval(n)) && (iscleared(g, gkey(n)))) { + setnilvalue(gval(n)); /* remove value ... */ +- removeentry(n); /* and remove entry from table */ + } ++ if (ttisnil(gval(n))) /* is entry empty? */ ++ removeentry(n); /* remove entry from table */ + } + } + } |