aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bugs18
1 files changed, 18 insertions, 0 deletions
diff --git a/bugs b/bugs
index 92c5b6f0..6743c41e 100644
--- a/bugs
+++ b/bugs
@@ -1521,6 +1521,24 @@ lparser.c:
1521} 1521}
1522 1522
1523Bug{ 1523Bug{
1524what = [[An error in a module loaded through the '-l' option
1525shows no traceback]],
1526report = [[David Manura, on 08/2007]],
1527since = [[5.1]],
1528example = [[lua -ltemp (assuming temp.lua has an error)]],
1529patch = [[
1530lua.c:
1531@@ -144,7 +144,7 @@
1532 static int dolibrary (lua_State *L, const char *name) {
1533 lua_getglobal(L, "require");
1534 lua_pushstring(L, name);
1535- return report(L, lua_pcall(L, 1, 0, 0));
1536+ return report(L, docall(L, 1, 1));
1537 }
1538]],
1539}
1540
1541Bug{
1524what = [[ ]], 1542what = [[ ]],
1525report = [[ , on ]], 1543report = [[ , on ]],
1526since = [[i ]], 1544since = [[i ]],