Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 176012 Details for
Bug 251818
Latest unstable xulrunner + firefox fail on hardened (patches attached)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for www-client/mozilla-firefox-3.0.5
hardened.patch (text/plain), 2.22 KB, created by
Thomas Sachau
on 2008-12-21 02:24:42 UTC
(
hide
)
Description:
patch for www-client/mozilla-firefox-3.0.5
Filename:
MIME Type:
Creator:
Thomas Sachau
Created:
2008-12-21 02:24:42 UTC
Size:
2.22 KB
patch
obsolete
> ># HG changeset patch ># User Dmitry Potapov <dpotapov@gmail.com> ># Date 1224561357 18000 ># Node ID adf33dbb59d04461121d236451dc8b5973b96fab ># Parent 6e9a29a235ce506b4ca35fabefa34b48033beb69 >Bug 412610 - "MAXPATHLEN too small for glibc's realpath()" (define MAXPATHLEN as PATH_MAX when PATH_MAX is available) [r=bsmedberg] > >--- browser/components/migration/src/nsDogbertProfileMigrator.cpp.old Tue Oct 21 16:36:29 2008 +1300 >+++ browser/components/migration/src/nsDogbertProfileMigrator.cpp Mon Oct 20 22:55:57 2008 -0500 >@@ -58,9 +58,12 @@ > #include "nsDirectoryServiceDefs.h" > #include "nsDirectoryServiceUtils.h" > #include <stdlib.h> >+#include <limits.h> > > #ifndef MAXPATHLEN >-#ifdef _MAX_PATH >+#ifdef PATH_MAX >+#define MAXPATHLEN PATH_MAX >+#elif defined(_MAX_PATH) > #define MAXPATHLEN _MAX_PATH > #elif defined(CCHMAXPATH) > #define MAXPATHLEN CCHMAXPATH >--- browser/components/migration/src/nsProfileMigrator.cpp.old Tue Oct 21 16:36:29 2008 +1300 >+++ browser/components/migration/src/nsProfileMigrator.cpp Mon Oct 20 22:55:57 2008 -0500 >@@ -63,12 +63,16 @@ > #include <windows.h> > #include "nsIWindowsRegKey.h" > #include "nsILocalFileWin.h" >+#else >+#include <limits.h> > #endif > > #include "nsAutoPtr.h" > > #ifndef MAXPATHLEN >-#ifdef _MAX_PATH >+#ifdef PATH_MAX >+#define MAXPATHLEN PATH_MAX >+#elif defined(_MAX_PATH) > #define MAXPATHLEN _MAX_PATH > #elif defined(CCHMAXPATH) > #define MAXPATHLEN CCHMAXPATH >--- toolkit/mozapps/update/src/updater/updater.cpp.old Tue Oct 21 16:36:29 2008 +1300 >+++ toolkit/mozapps/update/src/updater/updater.cpp Mon Oct 20 22:55:57 2008 -0500 >@@ -118,7 +118,9 @@ void LaunchChild(int argc, char **argv); > #endif > > #ifndef MAXPATHLEN >-# ifdef MAX_PATH >+# ifdef PATH_MAX >+# define MAXPATHLEN PATH_MAX >+# elif defined(_MAX_PATH) > # define MAXPATHLEN MAX_PATH > # elif defined(_MAX_PATH) > # define MAXPATHLEN _MAX_PATH >--- toolkit/xre/nsAppRunner.h.old Tue Oct 21 16:36:29 2008 +1300 >+++ toolkit/xre/nsAppRunner.h Mon Oct 20 22:55:57 2008 -0500 >@@ -40,10 +40,14 @@ > > #ifdef XP_WIN > #include <windows.h> >+#else >+#include <limits.h> > #endif > > #ifndef MAXPATHLEN >-#ifdef _MAX_PATH >+#ifdef PATH_MAX >+#define MAXPATHLEN PATH_MAX >+#elif defined(_MAX_PATH) > #define MAXPATHLEN _MAX_PATH > #elif defined(CCHMAXPATH) > #define MAXPATHLEN CCHMAXPATH > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 251818
:
176010
| 176012