]> git.pld-linux.org Git - packages/iceape.git/blame - iceape-glueload-fix.patch
- enigmail 1.4.2
[packages/iceape.git] / iceape-glueload-fix.patch
CommitLineData
45f7406a
JR
1--- seamonkey-1.1.11/mozilla/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp 2006-02-22 22:57:09.000000000 +0100
2+++ seamonkey-1.1.11/mozilla/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp.fixed 2008-09-23 21:15:21.000000000 +0200
3@@ -86,8 +86,8 @@
4 GetFrozenFunctionsFunc
5 XPCOMGlueLoad(const char *xpcomFile)
6 {
7- char xpcomDir[MAXPATHLEN];
8- if (realpath(xpcomFile, xpcomDir)) {
9+ char * xpcomDir;
10+ if (xpcomDir = realpath(xpcomFile, NULL)) {
11 char *lastSlash = strrchr(xpcomDir, '/');
12 if (lastSlash) {
13 *lastSlash = '\0';
14@@ -98,6 +98,7 @@
15
16 sXULLibHandle = dlopen(xpcomDir, RTLD_GLOBAL | RTLD_LAZY);
17 }
18+ free( xpcomDir );
19 }
20
21 // RTLD_DEFAULT is not defined in non-GNU toolchains, and it is
This page took 0.041043 seconds and 4 git commands to generate.