From owner-freebsd-gecko@FreeBSD.ORG Wed Feb 3 22:51:27 2010 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0CFC1065672 for ; Wed, 3 Feb 2010 22:51:27 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2F28FC08 for ; Wed, 3 Feb 2010 22:51:27 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.3/8.14.3) with ESMTP id o13MpQAX088927 for ; Wed, 3 Feb 2010 22:51:26 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.3/8.14.3/Submit) id o13MpLvm088489 for freebsd-gecko@freebsd.org; Wed, 3 Feb 2010 22:51:21 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Wed, 3 Feb 2010 22:51:21 GMT Message-Id: <201002032251.o13MpLvm088489@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r257 - branches/experimental/www/firefox3-devel/files trunk/www/firefox3-devel/files X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 22:51:28 -0000 Author: beat Date: Wed Feb 3 22:51:21 2010 New Revision: 257 Log: - Add patch to fix startup with certain plugins installed (like weave, greasemonkey and video downloadhelper) Submitted by: nox@ (many thanks for nailing this down and fix the problem!) Obtained from: https://bugzilla.mozilla.org/show_bug.cgi?id=530793 Thanks to: andreast, flo, miwi and nox for working on this problem Added: branches/experimental/www/firefox3-devel/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp trunk/www/firefox3-devel/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp Added: branches/experimental/www/firefox3-devel/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox3-devel/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp Wed Feb 3 22:51:21 2010 (r257) @@ -0,0 +1,20 @@ +--- xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp.orig ++++ xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp +@@ -633,10 +633,17 @@ IndexOfDirectoryOfFile(nsISupportsArray* + aSearchPath->QueryElementAt(i, NS_GET_IID(nsIFile), + getter_AddRefs(current)); + NS_ASSERTION(current, "broken search path! bad element"); ++#if 0 ++ // XXX #if 0'd because this breaks ++ // xptiInterfaceInfoManager::DoFullValidationMergeFromFileList() ++ // causing ff failing to start when there are symlinks in .xpt ++ // file paths, like those from addons when /home is a symlink. ++ + // nsIFile::Equals basically compares path strings so normalize + // before the comparison. + parent->Normalize(); + current->Normalize(); ++#endif + PRBool same; + if (NS_SUCCEEDED(parent->Equals(current, &same)) && same) + return (int) i; Added: trunk/www/firefox3-devel/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/www/firefox3-devel/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp Wed Feb 3 22:51:21 2010 (r257) @@ -0,0 +1,20 @@ +--- xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp.orig ++++ xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp +@@ -633,10 +633,17 @@ IndexOfDirectoryOfFile(nsISupportsArray* + aSearchPath->QueryElementAt(i, NS_GET_IID(nsIFile), + getter_AddRefs(current)); + NS_ASSERTION(current, "broken search path! bad element"); ++#if 0 ++ // XXX #if 0'd because this breaks ++ // xptiInterfaceInfoManager::DoFullValidationMergeFromFileList() ++ // causing ff failing to start when there are symlinks in .xpt ++ // file paths, like those from addons when /home is a symlink. ++ + // nsIFile::Equals basically compares path strings so normalize + // before the comparison. + parent->Normalize(); + current->Normalize(); ++#endif + PRBool same; + if (NS_SUCCEEDED(parent->Equals(current, &same)) && same) + return (int) i;