toolkit/crashreporter/breakpad-patches/16-sht-arm-exidx-define.patch

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 # HG changeset patch
michael@0 2 # User Justin Wood <Callek@gmail.com>
michael@0 3 # Date 1372046309 14400
michael@0 4 # Node ID d6fc88d46b67cd522998ab6a9320b00b6091d5ce
michael@0 5 # Parent aef71cf41cecf4c3d7bef313bff502c98d5883ce
michael@0 6 Bug 886209 - SHT_ARM_EXIDX not defined on older glibc versions. r=glandium
michael@0 7 (fixes SeaMonkey building on CentOS5.x)
michael@0 8
michael@0 9 diff --git src/common/linux/dump_symbols.cc
michael@0 10 --- a/src/common/linux/dump_symbols.cc
michael@0 11 +++ b/src/common/linux/dump_symbols.cc
michael@0 12 @@ -71,7 +71,8 @@
michael@0 13 #include "common/using_std_string.h"
michael@0 14 #include "common/logging.h"
michael@0 15
michael@0 16 -#if defined(__ANDROID__) && !defined(SHT_ARM_EXIDX)
michael@0 17 +#ifndef SHT_ARM_EXIDX
michael@0 18 +// bionic and older glibc don't define it
michael@0 19 # define SHT_ARM_EXIDX (SHT_LOPROC + 1)
michael@0 20 #endif
michael@0 21

mercurial