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.

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

mercurial