summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp')
-rw-r--r--www/firefox/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/firefox/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp b/www/firefox/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp
new file mode 100644
index 000000000000..c0b99dd35861
--- /dev/null
+++ b/www/firefox/files/patch-xpcom-reflect-xptinfo-src-xptiInterfaceInfoManager.cpp
@@ -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;