head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2012.03.10.14.57.32; author ryoon; state dead; branches; next 1.1; 1.1 date 2012.03.10.03.26.05; author ryoon; state Exp; branches; next ; desc @@ 1.2 log @Remove necessary backups of the patches. @ text @$NetBSD: patch-ipc_chromium_src_base_debug__util__posic.cc.orig,v 1.1 2012/03/10 03:26:05 ryoon Exp $ --- mozilla/ipc/chromium/src/base/debug_util_posix.cc.orig 2011-06-15 21:57:27.000000000 +0000 +++ mozilla/ipc/chromium/src/base/debug_util_posix.cc @@@@ -11,10 +11,10 @@@@ #include #include #include -#ifndef ANDROID +#ifdef __linux__ #include -#include #endif +#include #include "base/basictypes.h" #include "base/eintr_wrapper.h" @@@@ -119,7 +119,7 @@@@ StackTrace::StackTrace() { const int kMaxCallers = 256; void* callers[kMaxCallers]; -#ifndef ANDROID +#ifdef __GLIBC__ int count = backtrace(callers, kMaxCallers); #else int count = 0; @@@@ -138,7 +138,7 @@@@ StackTrace::StackTrace() { void StackTrace::PrintBacktrace() { fflush(stderr); -#ifndef ANDROID +#ifdef __GLIBC__ backtrace_symbols_fd(&trace_[0], trace_.size(), STDERR_FILENO); #endif } @ 1.1 log @Update to 2.7.2 * Many new features. * Security bugfixes. * See http://www.seamonkey-project.org/releases/seamonkey2.7/ @ text @d1 1 a1 1 $NetBSD: patch-ipc_chromium_src_base_debug__util__posic.cc,v 1.1 2011/07/11 20:46:36 tnn Exp $ @