aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.c
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2013-01-26 20:21:39 +0100
committerBenoit Germain <bnt.germain@gmail.com>2013-01-26 20:21:39 +0100
commitfb0c67b1c95b6a595c0cd34a66136af6193b4d1b (patch)
treebadb5e95c0b7d9acb6be371c9163801b816b8731 /src/keeper.c
parent68d8db431ec2b739dc53233d6b4d8aeee9324e48 (diff)
downloadlanes-3.4.4.tar.gz
lanes-3.4.4.tar.bz2
lanes-3.4.4.zip
version 3.4.4v3.4.4
* bugfix: take into account the fact that "coroutine" is no longer part of base library in Lua 5.2 * bugfix: if "bit32" was listed in the libraries, it wouldn't open (library list parsing failing on digits) * bugfix: Use luaL_requiref() to open standard libraries in Lua 5.2 as we should * bugfix: any Lua state created by Lanes reuses the allocator function of the originating state * bugfix: don't call on_state_create() while GC is suspended during lua state initialization
Diffstat (limited to '')
-rw-r--r--src/keeper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/keeper.c b/src/keeper.c
index a7c8647..516fe85 100644
--- a/src/keeper.c
+++ b/src/keeper.c
@@ -569,9 +569,7 @@ char const* init_keepers( lua_State* L, int const _nbKeepers, lua_CFunction _on_
569 // 569 //
570 // 'io' for debugging messages, 'package' because we need to require modules exporting idfuncs 570 // 'io' for debugging messages, 'package' because we need to require modules exporting idfuncs
571 // the others because they export functions that we may store in a keeper for transfer between lanes 571 // the others because they export functions that we may store in a keeper for transfer between lanes
572 lua_State* K = luaG_newstate( "*", _on_state_create); 572 lua_State* K = luaG_newstate( L, "*", _on_state_create);
573 if( !K)
574 return "out of memory";
575 573
576 DEBUGSPEW_CODE( fprintf( stderr, "init_keepers %d\n", i)); 574 DEBUGSPEW_CODE( fprintf( stderr, "init_keepers %d\n", i));
577 575