diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-09-11 09:42:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-09-11 09:42:14 -0300 |
commit | 203807397550ab35ad3a6f282b74b2bf40bc69c7 (patch) | |
tree | e1a7676d448004362e66c3bb827d6f5ff53550d3 | |
parent | 2dc91ca5eef37890e03ed4c14054d4eb38c0b250 (diff) | |
download | lua-203807397550ab35ad3a6f282b74b2bf40bc69c7.tar.gz lua-203807397550ab35ad3a6f282b74b2bf40bc69c7.tar.bz2 lua-203807397550ab35ad3a6f282b74b2bf40bc69c7.zip |
more regularity for field 'fix'
-rw-r--r-- | bugs | 31 |
1 files changed, 19 insertions, 12 deletions
@@ -1050,7 +1050,7 @@ what = [[list constructors have wrong limit]], | |||
1050 | 1050 | ||
1051 | report = [[by Norman Ramsey, June 2006]], | 1051 | report = [[by Norman Ramsey, June 2006]], |
1052 | 1052 | ||
1053 | since = "Lua 5.1", | 1053 | since = "5.1", |
1054 | 1054 | ||
1055 | example = [[ | 1055 | example = [[ |
1056 | a = {} | 1056 | a = {} |
@@ -1085,7 +1085,7 @@ what = [[wrong message error in some cases involving closures]], | |||
1085 | 1085 | ||
1086 | report = [[Shmuel Zeigerman, on 07/2006]], | 1086 | report = [[Shmuel Zeigerman, on 07/2006]], |
1087 | 1087 | ||
1088 | since = "Lua 5.1", | 1088 | since = "5.1", |
1089 | 1089 | ||
1090 | example = [[ | 1090 | example = [[ |
1091 | local Var | 1091 | local Var |
@@ -1126,7 +1126,7 @@ patch = [[ | |||
1126 | Bug{ | 1126 | Bug{ |
1127 | what = [[string.format("%") may read past the string]], | 1127 | what = [[string.format("%") may read past the string]], |
1128 | report = [[Roberto, on 09/2006]], | 1128 | report = [[Roberto, on 09/2006]], |
1129 | since = [[5.0 (at least)]], | 1129 | since = [[5.0]], |
1130 | example = [[print(string.format("%"))]], | 1130 | example = [[print(string.format("%"))]], |
1131 | patch = [[ | 1131 | patch = [[ |
1132 | *lstrlib.c: | 1132 | *lstrlib.c: |
@@ -1376,7 +1376,7 @@ Bug{ | |||
1376 | what = [[As a library, loadlib.c should not access Lua internals | 1376 | what = [[As a library, loadlib.c should not access Lua internals |
1377 | (via lobject.h)]], | 1377 | (via lobject.h)]], |
1378 | report = [[Jérôme Vuarand, on 03/2007]], | 1378 | report = [[Jérôme Vuarand, on 03/2007]], |
1379 | since = [[5.0 (at least)]], | 1379 | since = [[5.0]], |
1380 | example = [[the bug has no effect on external behavior]], | 1380 | example = [[the bug has no effect on external behavior]], |
1381 | patch = [[remove the '#include "lobject.h" and use | 1381 | patch = [[remove the '#include "lobject.h" and use |
1382 | 'lua_pushfstring' instead of 'luaO_pushfstring']], | 1382 | 'lua_pushfstring' instead of 'luaO_pushfstring']], |
@@ -1391,7 +1391,7 @@ Bug{ | |||
1391 | what = [[Lua may close standard files, | 1391 | what = [[Lua may close standard files, |
1392 | which then may be used by C]], | 1392 | which then may be used by C]], |
1393 | report = [[David Manura/Ross Berteig, on 04/2007]], | 1393 | report = [[David Manura/Ross Berteig, on 04/2007]], |
1394 | since = [[ ]], | 1394 | since = [[]], |
1395 | example = [[ | 1395 | example = [[ |
1396 | io.close(io.stderr) | 1396 | io.close(io.stderr) |
1397 | -- in some systems, following attempts to write to 'stderr' may crash | 1397 | -- in some systems, following attempts to write to 'stderr' may crash |
@@ -1424,7 +1424,7 @@ Bug{ | |||
1424 | what = [[Count hook may be called without being set.]], | 1424 | what = [[Count hook may be called without being set.]], |
1425 | report = [[Mike Pall, on 05/2007]], | 1425 | report = [[Mike Pall, on 05/2007]], |
1426 | since = [[?]], | 1426 | since = [[?]], |
1427 | example = [[ ]], | 1427 | example = [[]], |
1428 | patch = [[ | 1428 | patch = [[ |
1429 | lvm.c: | 1429 | lvm.c: |
1430 | @@ -61,11 +61,9 @@ | 1430 | @@ -61,11 +61,9 @@ |
@@ -1484,8 +1484,8 @@ Bug{ | |||
1484 | what = [[Very small numbers all collide in the hash function. | 1484 | what = [[Very small numbers all collide in the hash function. |
1485 | (This creates only performance problems; the behavoir is correct.)]], | 1485 | (This creates only performance problems; the behavoir is correct.)]], |
1486 | report = [[, on ]], | 1486 | report = [[, on ]], |
1487 | since = [[Lua 5.0]], | 1487 | since = [[5.0]], |
1488 | example = [[ ]], | 1488 | example = [[]], |
1489 | patch = [[ | 1489 | patch = [[ |
1490 | ltable.c: | 1490 | ltable.c: |
1491 | 87,88c87,88 | 1491 | 87,88c87,88 |
@@ -1573,7 +1573,7 @@ Bug{ | |||
1573 | what = [[table.remove removes last element of a table when given | 1573 | what = [[table.remove removes last element of a table when given |
1574 | an out-of-bound index]], | 1574 | an out-of-bound index]], |
1575 | report = [[Patrick Donnelly, on 11/2007]], | 1575 | report = [[Patrick Donnelly, on 11/2007]], |
1576 | since = [[at least 5.0]], | 1576 | since = [[5.0]], |
1577 | example = [[ | 1577 | example = [[ |
1578 | a = {1,2,3} | 1578 | a = {1,2,3} |
1579 | table.remove(a, 4) | 1579 | table.remove(a, 4) |
@@ -1619,7 +1619,7 @@ Bug{ | |||
1619 | what = [[stand-alone interpreter shows incorrect error message | 1619 | what = [[stand-alone interpreter shows incorrect error message |
1620 | when the "message" is a coroutine]], | 1620 | when the "message" is a coroutine]], |
1621 | report = [[Patrick Donnelly, on 17/12/2007]], | 1621 | report = [[Patrick Donnelly, on 17/12/2007]], |
1622 | since = [[i ]], | 1622 | since = [[5.1]], |
1623 | example = [[> error(coroutine.create(function() end))]], | 1623 | example = [[> error(coroutine.create(function() end))]], |
1624 | patch = [[ | 1624 | patch = [[ |
1625 | lua.c: | 1625 | lua.c: |
@@ -1880,8 +1880,8 @@ patch = [[ | |||
1880 | +++ lundump.c 2008/04/04 19:51:41 2.7.1.4 | 1880 | +++ lundump.c 2008/04/04 19:51:41 2.7.1.4 |
1881 | @@ -1,5 +1,5 @@ | 1881 | @@ -1,5 +1,5 @@ |
1882 | /* | 1882 | /* |
1883 | -** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $ | 1883 | -** $Id: bugs,v 1.116 2012/07/13 14:53:38 roberto Exp roberto $ |
1884 | +** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $ | 1884 | +** $Id: bugs,v 1.116 2012/07/13 14:53:38 roberto Exp roberto $ |
1885 | ** load precompiled Lua chunks | 1885 | ** load precompiled Lua chunks |
1886 | ** See Copyright Notice in lua.h | 1886 | ** See Copyright Notice in lua.h |
1887 | */ | 1887 | */ |
@@ -2416,6 +2416,7 @@ Bug{ | |||
2416 | what = [[memory hoarding when creating Lua hooks for coroutines]], | 2416 | what = [[memory hoarding when creating Lua hooks for coroutines]], |
2417 | report = [[Arseny Vakhrushev, 2012/01/16]], | 2417 | report = [[Arseny Vakhrushev, 2012/01/16]], |
2418 | since = [[5.1]], | 2418 | since = [[5.1]], |
2419 | fix = [[5.2.1]], | ||
2419 | example = [[ | 2420 | example = [[ |
2420 | collectgarbage(); print(collectgarbage'count' * 1024) | 2421 | collectgarbage(); print(collectgarbage'count' * 1024) |
2421 | 2422 | ||
@@ -2489,6 +2490,7 @@ what = [[Lexical gets confused with some combination of arithmetic | |||
2489 | operators and hexadecimal numbers]], | 2490 | operators and hexadecimal numbers]], |
2490 | report = [[Alexandra Barros, 2012/01/17]], | 2491 | report = [[Alexandra Barros, 2012/01/17]], |
2491 | since = [[5.2.0]], | 2492 | since = [[5.2.0]], |
2493 | fix = [[5.2.1]], | ||
2492 | example = [[print(0xE+1)]], | 2494 | example = [[print(0xE+1)]], |
2493 | patch = [[ | 2495 | patch = [[ |
2494 | --- llex.c 2011/11/30 12:43:51 2.59 | 2496 | --- llex.c 2011/11/30 12:43:51 2.59 |
@@ -2525,6 +2527,7 @@ what = [[Finalizers may call functions from a dynamic library after | |||
2525 | the library has been unloaded]], | 2527 | the library has been unloaded]], |
2526 | report = [[Josh Haberman, 2012/04/08]], | 2528 | report = [[Josh Haberman, 2012/04/08]], |
2527 | since = [[5.1]], | 2529 | since = [[5.1]], |
2530 | fix = [[5.2.1]], | ||
2528 | example = [[ | 2531 | example = [[ |
2529 | local u = setmetatable({}, {__gc = function () foo() end}) | 2532 | local u = setmetatable({}, {__gc = function () foo() end}) |
2530 | local m = require 'mod' -- 'mod' may be any dynamic library written in C | 2533 | local m = require 'mod' -- 'mod' may be any dynamic library written in C |
@@ -2620,6 +2623,7 @@ Bug{ | |||
2620 | what = [[wrong handling of 'nCcalls' in coroutines]], | 2623 | what = [[wrong handling of 'nCcalls' in coroutines]], |
2621 | report = [[Alexander Gavrilov, 2012/04/18]], | 2624 | report = [[Alexander Gavrilov, 2012/04/18]], |
2622 | since = [[5.2.0]], | 2625 | since = [[5.2.0]], |
2626 | fix = [[5.2.1]], | ||
2623 | example = [[ | 2627 | example = [[ |
2624 | coroutine.wrap(function() | 2628 | coroutine.wrap(function() |
2625 | print(pcall(pcall,pcall,pcall,pcall,pcall,error,3)) | 2629 | print(pcall(pcall,pcall,pcall,pcall,pcall,error,3)) |
@@ -2652,6 +2656,7 @@ Bug{ | |||
2652 | what = [[Internal Lua values may escape through the debug API]], | 2656 | what = [[Internal Lua values may escape through the debug API]], |
2653 | report = [[Dan Tull, 2012/04/20]], | 2657 | report = [[Dan Tull, 2012/04/20]], |
2654 | since = [[5.1]], | 2658 | since = [[5.1]], |
2659 | fix = [[5.2.1]], | ||
2655 | example = [[ | 2660 | example = [[ |
2656 | -- for Lua 5.1 | 2661 | -- for Lua 5.1 |
2657 | local firsttime = true | 2662 | local firsttime = true |
@@ -2676,6 +2681,7 @@ Bug{ | |||
2676 | what = [[Problems when yielding from debug hooks]], | 2681 | what = [[Problems when yielding from debug hooks]], |
2677 | report = [[Erik Cassel, 2012/06/05]], | 2682 | report = [[Erik Cassel, 2012/06/05]], |
2678 | since = [[5.2.0]], | 2683 | since = [[5.2.0]], |
2684 | fix = [[5.2.1]], | ||
2679 | example = [[ | 2685 | example = [[ |
2680 | Set, in C, a line hook that simply yields, | 2686 | Set, in C, a line hook that simply yields, |
2681 | and then call any Lua function. | 2687 | and then call any Lua function. |
@@ -2701,6 +2707,7 @@ Bug{ | |||
2701 | what = [[ ]], | 2707 | what = [[ ]], |
2702 | report = [[ ]], | 2708 | report = [[ ]], |
2703 | since = [[ ]], | 2709 | since = [[ ]], |
2710 | fix = nil, | ||
2704 | example = [[ ]], | 2711 | example = [[ ]], |
2705 | patch = [[ | 2712 | patch = [[ |
2706 | ]] | 2713 | ]] |