diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2011-03-09 15:43:48 +0000 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2011-03-09 15:43:48 +0000 |
commit | 903fb8e9a165bce64291983695e9902bb421b65d (patch) | |
tree | dced250b114ceac375a1ec0811484c2f2a0cd8e9 /dev-lang/luajit/files | |
parent | Version bump. (diff) | |
download | gentoo-2-903fb8e9a165bce64291983695e9902bb421b65d.tar.gz gentoo-2-903fb8e9a165bce64291983695e9902bb421b65d.tar.bz2 gentoo-2-903fb8e9a165bce64291983695e9902bb421b65d.zip |
Version bump.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/luajit/files')
-rw-r--r-- | dev-lang/luajit/files/2.0.0_beta5_hotfix1.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/dev-lang/luajit/files/2.0.0_beta5_hotfix1.patch b/dev-lang/luajit/files/2.0.0_beta5_hotfix1.patch deleted file mode 100644 index a7bf38a697c8..000000000000 --- a/dev-lang/luajit/files/2.0.0_beta5_hotfix1.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- a/src/lib_string.c -+++ b/src/lib_string.c -@@ -746,6 +746,7 @@ - nbuf[len-2] = nbuf[len-2] - 0x20; - nbuf[len-1] = nbuf[len-1] - 0x20; - } -+ nbuf[len] = '\0'; - for (p = form; *p < 'e' && *p != '.'; p++) ; - *p++ = 's'; *p = '\0'; - sprintf(buff, form, nbuf); ---- a/src/lj_state.c -+++ b/src/lj_state.c -@@ -153,26 +153,21 @@ - static void close_state(lua_State *L) - { - global_State *g = G(L); -+ lj_func_closeuv(L, L->stack); -+ lj_gc_freeall(g); -+ lua_assert(gcref(g->gc.root) == obj2gco(L)); -+ lua_assert(g->strnum == 0); -+ lj_trace_freestate(g); -+ lj_mem_freevec(g, g->strhash, g->strmask+1, GCRef); -+ lj_str_freebuf(g, &g->tmpbuf); -+ lj_mem_freevec(g, L->stack, L->stacksize, TValue); -+ lua_assert(g->gc.total == sizeof(GG_State)); - #ifndef LUAJIT_USE_SYSMALLOC -- if (g->allocf == lj_alloc_f) { --#if LJ_HASJIT -- lj_mcode_free(G2J(g)); --#endif -+ if (g->allocf == lj_alloc_f) - lj_alloc_destroy(g->allocd); -- } else -+ else - #endif -- { -- lj_func_closeuv(L, L->stack); -- lj_gc_freeall(g); -- lua_assert(gcref(g->gc.root) == obj2gco(L)); -- lua_assert(g->strnum == 0); -- lj_trace_freestate(g); -- lj_mem_freevec(g, g->strhash, g->strmask+1, GCRef); -- lj_str_freebuf(g, &g->tmpbuf); -- lj_mem_freevec(g, L->stack, L->stacksize, TValue); -- lua_assert(g->gc.total == sizeof(GG_State)); - g->allocf(g->allocd, G2GG(g), sizeof(GG_State), 0); -- } - } - - #if LJ_64 |