blob: 9ad7fb2e6c83958cf802c06e4c5a6ab130af7fd4 (
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.1 2006/11/17 08:12:14 martin 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
}
}
}
|