work for some users (sparc64 support, for example, is busted and won't appear again until firefox-5.0).
20 lines
785 B
Text
20 lines
785 B
Text
$NetBSD: patch-aj,v 1.1.1.1 2011/04/19 11:16:07 tnn Exp $
|
|
|
|
--- profile/dirserviceprovider/src/nsProfileLock.cpp.orig 2010-04-13 22:22:54.000000000 +0000
|
|
+++ profile/dirserviceprovider/src/nsProfileLock.cpp
|
|
@@ -396,6 +396,7 @@ nsresult nsProfileLock::LockWithSymlink(
|
|
act.sa_flags = SA_SIGINFO;
|
|
sigfillset(&act.sa_mask);
|
|
|
|
+#ifndef DEBUG
|
|
#define CATCH_SIGNAL(signame) \
|
|
PR_BEGIN_MACRO \
|
|
if (sigaction(signame, NULL, &oldact) == 0 && \
|
|
@@ -414,6 +415,7 @@ PR_BEGIN_MACRO
|
|
CATCH_SIGNAL(SIGTERM);
|
|
|
|
#undef CATCH_SIGNAL
|
|
+#endif
|
|
}
|
|
}
|
|
}
|