Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS
SVN: [115100] trunk/php/luasandbox/alloc.c
 

Index | Next | Previous | View Flat


vvv at svn

May 1, 2012, 5:53 AM


Views: 59
Permalink
SVN: [115100] trunk/php/luasandbox/alloc.c

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115100

Revision: 115100
Author: vvv
Date: 2012-05-01 12:53:53 +0000 (Tue, 01 May 2012)
Log Message:
-----------
Fix broken memory allocator in LuaJIT 64-bit mode.

Modified Paths:
--------------
trunk/php/luasandbox/alloc.c

Modified: trunk/php/luasandbox/alloc.c
===================================================================
--- trunk/php/luasandbox/alloc.c 2012-05-01 11:21:59 UTC (rev 115099)
+++ trunk/php/luasandbox/alloc.c 2012-05-01 12:53:53 UTC (rev 115100)
@@ -44,7 +44,7 @@
// function pointer is unchanged before destroying the underlying
// allocator. If the allocator has been changed, the mmap is not freed.
#ifdef LUASANDBOX_LJ_64
- lua_setallocf(alloc->state, alloc->old_alloc, alloc->old_alloc_ud);
+ lua_setallocf(L, alloc->old_alloc, alloc->old_alloc_ud);
#endif

lua_close(L);


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Subject User Time
SVN: [115100] trunk/php/luasandbox/alloc.c vvv at svn May 1, 2012, 5:53 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.