]> git.pld-linux.org Git - packages/firefox.git/commitdiff
- much better workaround instead of ugly hack; see mozilla bugzilla report auto/th/mozilla-thunderbird-0_94_3-1 auto/th/mozilla-thunderbird-0_95_0-2 auto/th/xulrunner-1_8_1_3-1_20070321_5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 10 Apr 2007 22:07:40 +0000 (22:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mozilla-hack-gcc_4_2.patch -> 1.2

mozilla-hack-gcc_4_2.patch

index f8e10dbdc6fa449017c6e85c8cf36f10b8cfa140..63904045271c4bb27db98859b409a11575c24c22 100644 (file)
@@ -1,14 +1,20 @@
-; giant hack, if you feel brave enough you can try to track it down deeper
-; https://bugzilla.mozilla.org/show_bug.cgi?id=362462
---- mozilla/mozilla/netwerk/base/src/nsStandardURL.cpp~        2007-02-26 09:31:24.171735485 +0100
-+++ mozilla/mozilla/netwerk/base/src/nsStandardURL.cpp 2007-02-26 10:04:35.679481070 +0100
-@@ -2510,6 +2510,9 @@
+diff -puNr mozilla/mozilla.orig/netwerk/base/src/nsStandardURL.h mozilla/mozilla/netwerk/base/src/nsStandardURL.h
+--- mozilla.orig/mozilla/netwerk/base/src/nsStandardURL.h      2006-05-02 20:53:56.000000000 +0200
++++ mozilla/mozilla/netwerk/base/src/nsStandardURL.h   2007-04-10 21:18:23.000000000 +0200
+@@ -262,11 +262,11 @@ private:
+         eEncoding_UTF8
+     };
  
-     InvalidateCache();
+-    PRUint32 mHostEncoding    : 2; // eEncoding_xxx
+-    PRUint32 mSpecEncoding    : 2; // eEncoding_xxx
+-    PRUint32 mURLType         : 2; // nsIStandardURL::URLTYPE_xxx
+-    PRUint32 mMutable         : 1; // nsIStandardURL::mutable
+-    PRUint32 mSupportsFileURL : 1; // QI to nsIFileURL?
++    PRUint32 mHostEncoding; // eEncoding_xxx
++    PRUint32 mSpecEncoding; // eEncoding_xxx
++    PRUint32 mURLType; // nsIStandardURL::URLTYPE_xxx
++    PRUint32 mMutable; // nsIStandardURL::mutable
++    PRUint32 mSupportsFileURL; // QI to nsIFileURL?
  
-+    if (urlType != URLTYPE_STANDARD && urlType != URLTYPE_AUTHORITY && urlType != URLTYPE_NO_AUTHORITY)
-+        urlType = URLTYPE_STANDARD;
-+
-     switch (urlType) {
-     case URLTYPE_STANDARD:
-         mParser = net_GetStdURLParser();
+     // global objects.  don't use COMPtr as its destructor will cause a
+     // coredump if we leak it.
This page took 0.040633 seconds and 4 git commands to generate.