diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-05-13 16:22:15 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-05-13 16:22:15 +0200 |
commit | 38a23ef90eab3e798260999d546e4b62beb30838 (patch) | |
tree | d41bbac5c7057320301a11156fd8c1fc95a34acb /mozilla-jemalloc-526152.patch | |
parent | 139f64c6307428ff5ccc8a6e3fd5fa607f2f95ef (diff) |
Firefox 3.6.4build3
Diffstat (limited to 'mozilla-jemalloc-526152.patch')
-rw-r--r-- | mozilla-jemalloc-526152.patch | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/mozilla-jemalloc-526152.patch b/mozilla-jemalloc-526152.patch index 6ffce7a..5f60485 100644 --- a/mozilla-jemalloc-526152.patch +++ b/mozilla-jemalloc-526152.patch @@ -1,6 +1,14 @@ ---- mozilla-1.9.2/memory/jemalloc/jemalloc.c.orig 2009-12-17 21:56:35.000000000 +0100 -+++ mozilla-1.9.2/memory/jemalloc/jemalloc.c 2009-12-17 21:57:32.000000000 +0100 -@@ -5822,14 +5822,14 @@ +From: David Mandelin <dmandelin@mozilla.com> + +diff --git a/memory/jemalloc/jemalloc.c b/memory/jemalloc/jemalloc.c +--- a/memory/jemalloc/jemalloc.c ++++ b/memory/jemalloc/jemalloc.c +@@ -5792,24 +5792,24 @@ __attribute__((noinline)) + #else + inline + #endif + void * + memalign(size_t alignment, size_t size) { void *ret; @@ -17,3 +25,8 @@ ret = ipalloc(alignment, size); RETURN: + #ifdef MALLOC_XMALLOC + if (opt_xmalloc && ret == NULL) { + _malloc_message(_getprogname(), + ": (malloc) Error in memalign(): out of memory\n", "", ""); + abort(); |