diff options
author | Pale Moon <git-repo@palemoon.org> | 2014-11-25 11:56:48 +0100 |
---|---|---|
committer | Pale Moon <git-repo@palemoon.org> | 2014-11-25 11:56:48 +0100 |
commit | 6609e21254c267a6dc8aca35dfb066bc222d1719 (patch) | |
tree | 3ef9d659163a2047042dba5088fb2dfa69e0a847 /memory | |
parent | 4739024b70a9e497d33c5cd8d7be4e1f577edd25 (diff) | |
download | palemoon-gre-6609e21254c267a6dc8aca35dfb066bc222d1719.tar.gz |
Remote issetugid() because LP64 won't support it
Diffstat (limited to 'memory')
-rw-r--r-- | memory/mozjemalloc/jemalloc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c index 468b29992..4bd14b122 100644 --- a/memory/mozjemalloc/jemalloc.c +++ b/memory/mozjemalloc/jemalloc.c @@ -225,7 +225,6 @@ #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 @@ -265,7 +264,6 @@ static unsigned long tlsIndex = 0xffffffff; #define __thread #define _pthread_self() __threadid() -#define issetugid() 0 /* use MSVC intrinsics */ #pragma intrinsic(_BitScanForward) @@ -5777,8 +5775,7 @@ malloc_init_hard(void) } 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 |