Subject: Re: Firefox 1.5 package
To: Hubert Feyrer <feyrer@cs.stevens.edu>
From: Martin Husemann <martin@duskware.de>
List: tech-pkg
Date: 12/01/2005 11:30:45
--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I prefer this patch, but I never got around testing if DEBUG realy is 
correctly passed here, so I didn't commit it.

Martin



--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-dw

$NetBSD$

--- profile/dirserviceprovider/src/nsProfileLock.cpp.orig	2004-10-21 03:56:25.000000000 +0200
+++ profile/dirserviceprovider/src/nsProfileLock.cpp	2005-11-01 08:55:27.000000000 +0100
@@ -356,6 +356,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 &&                         \
@@ -374,6 +375,8 @@ PR_BEGIN_MACRO                          
                 CATCH_SIGNAL(SIGTERM);
 
 #undef CATCH_SIGNAL
+#endif
+
             }
         }
     }

--FL5UXtIhxfXey3p5--