summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-ed
blob: 1208e143b061519885e58cb8f7adc4a9f7a5241b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ed,v 1.3 2007/05/12 13:53:11 ghen Exp $

--- profile/dirserviceprovider/src/nsProfileLock.cpp.orig	2005-11-01 02:20:38.000000000 +0100
+++ profile/dirserviceprovider/src/nsProfileLock.cpp	2006-11-16 09:50:12.000000000 +0100
@@ -384,6 +384,7 @@ nsresult nsProfileLock::LockWithSymlink(
                 act.sa_flags = 0;
                 sigfillset(&act.sa_mask);
 
+#ifndef DEBUG
 #define CATCH_SIGNAL(signame)                                           \
 PR_BEGIN_MACRO                                                          \
   if (sigaction(signame, NULL, &oldact) == 0 &&                         \
@@ -402,6 +403,7 @@ PR_BEGIN_MACRO                          
                 CATCH_SIGNAL(SIGTERM);
 
 #undef CATCH_SIGNAL
+#endif
             }
         }
     }