From 6a6d63d8f2e6e04644fcf93d9937508af6eefff2 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Thu, 9 Jul 2015 14:03:09 -0500 Subject: Initial adaptation to v38.x --- data/patches/gnuzilla-bug-1030899-2.patch | 59 ------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 data/patches/gnuzilla-bug-1030899-2.patch (limited to 'data/patches/gnuzilla-bug-1030899-2.patch') diff --git a/data/patches/gnuzilla-bug-1030899-2.patch b/data/patches/gnuzilla-bug-1030899-2.patch deleted file mode 100644 index 55728ab..0000000 --- a/data/patches/gnuzilla-bug-1030899-2.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- a/memory/mozjemalloc/jemalloc.c -+++ a/memory/mozjemalloc/jemalloc.c -@@ -220,17 +220,16 @@ - - #ifdef MALLOC_PAGEFILE - /* Write size when initializing a page file. */ - # define MALLOC_PAGEFILE_WRITE_SIZE 512 - #endif - - #if defined(MOZ_MEMORY_LINUX) && !defined(MOZ_MEMORY_ANDROID) - #define _GNU_SOURCE /* For mremap(2). */ --#define issetugid() 0 - #if 0 /* Enable in order to test decommit code on Linux. */ - # define MALLOC_DECOMMIT - #endif - #endif - - #include - - #include -@@ -261,17 +260,16 @@ - #define vsnprintf _vsnprintf - - #ifndef NO_TLS - static unsigned long tlsIndex = 0xffffffff; - #endif - - #define __thread - #define _pthread_self() __threadid() --#define issetugid() 0 - - /* use MSVC intrinsics */ - #pragma intrinsic(_BitScanForward) - static __forceinline int - ffs(int x) - { - unsigned long i; - -@@ -5675,18 +5673,17 @@ malloc_init_hard(void) - #endif - { - /* No configuration specified. */ - buf[0] = '\0'; - opts = buf; - } - break; - case 1: -- if (issetugid() == 0 && (opts = -- getenv("MALLOC_OPTIONS")) != NULL) { -+ if ((opts = getenv("MALLOC_OPTIONS")) != NULL) { - /* - * Do nothing; opts is already initialized to - * the value of the MALLOC_OPTIONS environment - * variable. - */ - } else { - /* No configuration specified. */ - buf[0] = '\0'; - -- cgit v1.2.3