summaryrefslogtreecommitdiffstats
path: root/mozilla-jemalloc-526152.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-12-22 16:49:48 +0100
committerRemi Collet <fedora@famillecollet.com>2011-12-22 16:49:48 +0100
commit2e5013b06612bcfdf8050c569cd9f12a758e8fa4 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /mozilla-jemalloc-526152.patch
parent5f139fd8d735a957395c0d01bcc835271d80999f (diff)
clean
Diffstat (limited to 'mozilla-jemalloc-526152.patch')
-rw-r--r--mozilla-jemalloc-526152.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/mozilla-jemalloc-526152.patch b/mozilla-jemalloc-526152.patch
deleted file mode 100644
index 5f60485..0000000
--- a/mozilla-jemalloc-526152.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-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;
-
-- assert(((alignment - 1) & alignment) == 0 && alignment >=
-- sizeof(void *));
-+ assert(((alignment - 1) & alignment) == 0);
-
- if (malloc_init()) {
- ret = NULL;
- goto RETURN;
- }
-
-+ alignment = alignment < sizeof(void*) ? sizeof(void*) : alignment;
- 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();