more regularity for field 'fix'

This commit is contained in:
Roberto Ierusalimschy 2012-09-11 09:42:14 -03:00
parent 2dc91ca5ee
commit 2038073975
1 changed files with 19 additions and 12 deletions

31
bugs
View File

@ -1050,7 +1050,7 @@ what = [[list constructors have wrong limit]],
report = [[by Norman Ramsey, June 2006]], report = [[by Norman Ramsey, June 2006]],
since = "Lua 5.1", since = "5.1",
example = [[ example = [[
a = {} a = {}
@ -1085,7 +1085,7 @@ what = [[wrong message error in some cases involving closures]],
report = [[Shmuel Zeigerman, on 07/2006]], report = [[Shmuel Zeigerman, on 07/2006]],
since = "Lua 5.1", since = "5.1",
example = [[ example = [[
local Var local Var
@ -1126,7 +1126,7 @@ patch = [[
Bug{ Bug{
what = [[string.format("%") may read past the string]], what = [[string.format("%") may read past the string]],
report = [[Roberto, on 09/2006]], report = [[Roberto, on 09/2006]],
since = [[5.0 (at least)]], since = [[5.0]],
example = [[print(string.format("%"))]], example = [[print(string.format("%"))]],
patch = [[ patch = [[
*lstrlib.c: *lstrlib.c:
@ -1376,7 +1376,7 @@ Bug{
what = [[As a library, loadlib.c should not access Lua internals what = [[As a library, loadlib.c should not access Lua internals
(via lobject.h)]], (via lobject.h)]],
report = [[Jérôme Vuarand, on 03/2007]], report = [[Jérôme Vuarand, on 03/2007]],
since = [[5.0 (at least)]], since = [[5.0]],
example = [[the bug has no effect on external behavior]], example = [[the bug has no effect on external behavior]],
patch = [[remove the '#include "lobject.h" and use patch = [[remove the '#include "lobject.h" and use
'lua_pushfstring' instead of 'luaO_pushfstring']], 'lua_pushfstring' instead of 'luaO_pushfstring']],
@ -1391,7 +1391,7 @@ Bug{
what = [[Lua may close standard files, what = [[Lua may close standard files,
which then may be used by C]], which then may be used by C]],
report = [[David Manura/Ross Berteig, on 04/2007]], report = [[David Manura/Ross Berteig, on 04/2007]],
since = [[ ]], since = [[]],
example = [[ example = [[
io.close(io.stderr) io.close(io.stderr)
-- in some systems, following attempts to write to 'stderr' may crash -- in some systems, following attempts to write to 'stderr' may crash
@ -1424,7 +1424,7 @@ Bug{
what = [[Count hook may be called without being set.]], what = [[Count hook may be called without being set.]],
report = [[Mike Pall, on 05/2007]], report = [[Mike Pall, on 05/2007]],
since = [[?]], since = [[?]],
example = [[ ]], example = [[]],
patch = [[ patch = [[
lvm.c: lvm.c:
@@ -61,11 +61,9 @@ @@ -61,11 +61,9 @@
@ -1484,8 +1484,8 @@ Bug{
what = [[Very small numbers all collide in the hash function. what = [[Very small numbers all collide in the hash function.
(This creates only performance problems; the behavoir is correct.)]], (This creates only performance problems; the behavoir is correct.)]],
report = [[, on ]], report = [[, on ]],
since = [[Lua 5.0]], since = [[5.0]],
example = [[ ]], example = [[]],
patch = [[ patch = [[
ltable.c: ltable.c:
87,88c87,88 87,88c87,88
@ -1573,7 +1573,7 @@ Bug{
what = [[table.remove removes last element of a table when given what = [[table.remove removes last element of a table when given
an out-of-bound index]], an out-of-bound index]],
report = [[Patrick Donnelly, on 11/2007]], report = [[Patrick Donnelly, on 11/2007]],
since = [[at least 5.0]], since = [[5.0]],
example = [[ example = [[
a = {1,2,3} a = {1,2,3}
table.remove(a, 4) table.remove(a, 4)
@ -1619,7 +1619,7 @@ Bug{
what = [[stand-alone interpreter shows incorrect error message what = [[stand-alone interpreter shows incorrect error message
when the "message" is a coroutine]], when the "message" is a coroutine]],
report = [[Patrick Donnelly, on 17/12/2007]], report = [[Patrick Donnelly, on 17/12/2007]],
since = [[i ]], since = [[5.1]],
example = [[> error(coroutine.create(function() end))]], example = [[> error(coroutine.create(function() end))]],
patch = [[ patch = [[
lua.c: lua.c:
@ -1880,8 +1880,8 @@ patch = [[
+++ lundump.c 2008/04/04 19:51:41 2.7.1.4 +++ lundump.c 2008/04/04 19:51:41 2.7.1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/* /*
-** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $ -** $Id: bugs,v 1.116 2012/07/13 14:53:38 roberto Exp roberto $
+** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $ +** $Id: bugs,v 1.116 2012/07/13 14:53:38 roberto Exp roberto $
** load precompiled Lua chunks ** load precompiled Lua chunks
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@ -2416,6 +2416,7 @@ Bug{
what = [[memory hoarding when creating Lua hooks for coroutines]], what = [[memory hoarding when creating Lua hooks for coroutines]],
report = [[Arseny Vakhrushev, 2012/01/16]], report = [[Arseny Vakhrushev, 2012/01/16]],
since = [[5.1]], since = [[5.1]],
fix = [[5.2.1]],
example = [[ example = [[
collectgarbage(); print(collectgarbage'count' * 1024) collectgarbage(); print(collectgarbage'count' * 1024)
@ -2489,6 +2490,7 @@ what = [[Lexical gets confused with some combination of arithmetic
operators and hexadecimal numbers]], operators and hexadecimal numbers]],
report = [[Alexandra Barros, 2012/01/17]], report = [[Alexandra Barros, 2012/01/17]],
since = [[5.2.0]], since = [[5.2.0]],
fix = [[5.2.1]],
example = [[print(0xE+1)]], example = [[print(0xE+1)]],
patch = [[ patch = [[
--- llex.c 2011/11/30 12:43:51 2.59 --- llex.c 2011/11/30 12:43:51 2.59
@ -2525,6 +2527,7 @@ what = [[Finalizers may call functions from a dynamic library after
the library has been unloaded]], the library has been unloaded]],
report = [[Josh Haberman, 2012/04/08]], report = [[Josh Haberman, 2012/04/08]],
since = [[5.1]], since = [[5.1]],
fix = [[5.2.1]],
example = [[ example = [[
local u = setmetatable({}, {__gc = function () foo() end}) local u = setmetatable({}, {__gc = function () foo() end})
local m = require 'mod' -- 'mod' may be any dynamic library written in C local m = require 'mod' -- 'mod' may be any dynamic library written in C
@ -2620,6 +2623,7 @@ Bug{
what = [[wrong handling of 'nCcalls' in coroutines]], what = [[wrong handling of 'nCcalls' in coroutines]],
report = [[Alexander Gavrilov, 2012/04/18]], report = [[Alexander Gavrilov, 2012/04/18]],
since = [[5.2.0]], since = [[5.2.0]],
fix = [[5.2.1]],
example = [[ example = [[
coroutine.wrap(function() coroutine.wrap(function()
print(pcall(pcall,pcall,pcall,pcall,pcall,error,3)) print(pcall(pcall,pcall,pcall,pcall,pcall,error,3))
@ -2652,6 +2656,7 @@ Bug{
what = [[Internal Lua values may escape through the debug API]], what = [[Internal Lua values may escape through the debug API]],
report = [[Dan Tull, 2012/04/20]], report = [[Dan Tull, 2012/04/20]],
since = [[5.1]], since = [[5.1]],
fix = [[5.2.1]],
example = [[ example = [[
-- for Lua 5.1 -- for Lua 5.1
local firsttime = true local firsttime = true
@ -2676,6 +2681,7 @@ Bug{
what = [[Problems when yielding from debug hooks]], what = [[Problems when yielding from debug hooks]],
report = [[Erik Cassel, 2012/06/05]], report = [[Erik Cassel, 2012/06/05]],
since = [[5.2.0]], since = [[5.2.0]],
fix = [[5.2.1]],
example = [[ example = [[
Set, in C, a line hook that simply yields, Set, in C, a line hook that simply yields,
and then call any Lua function. and then call any Lua function.
@ -2701,6 +2707,7 @@ Bug{
what = [[ ]], what = [[ ]],
report = [[ ]], report = [[ ]],
since = [[ ]], since = [[ ]],
fix = nil,
example = [[ ]], example = [[ ]],
patch = [[ patch = [[
]] ]]