Bug 682313: Fix jemalloc to export _strdup and _wcsdup so that we don't have an allocator mismatch. r=jimm
authorKyle Huey <khuey@kylehuey.com>
Tue, 30 Aug 2011 17:07:51 -0400
changeset 76287 19a5f6177257f59a9c565f1a6630782aed8f5b5d
parent 76286 6a7c444e82166f39981b6720c3085341c41b2431
child 76288 94b987001b3819f8ac50a13a9814ed1a346b2592
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersjimm
bugs682313
milestone9.0a1
Bug 682313: Fix jemalloc to export _strdup and _wcsdup so that we don't have an allocator mismatch. r=jimm
memory/jemalloc/jemalloc.def
--- a/memory/jemalloc/jemalloc.def
+++ b/memory/jemalloc/jemalloc.def
@@ -41,13 +41,15 @@ EXPORTS
   valloc=je_valloc
   calloc=je_calloc
   realloc=je_realloc
   free=je_free
   memalign=je_memalign
   posix_memalign=je_posix_memalign
   strndup=je_strndup
   strdup=je_strdup
+  _strdup=je_strdup
   wcsdup=je_wcsdup
+  _wcsdup=je_wcsdup
   malloc_usable_size=je_malloc_usable_size
   jemalloc_stats
   ; A hack to work around the CRT (see giant comment in Makefile.in)
   frex=je_dumb_free_thunk