Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 168498 Details for
Bug 241734
app-text/xpdf-3.02-r1 does not compile with sys-devel/gcc-4.3.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
getFileSpecName.patch
getFileSpecName.patch (text/plain), 1.14 KB, created by
Ed Catmur
on 2008-10-15 01:13:07 UTC
(
hide
)
Description:
getFileSpecName.patch
Filename:
MIME Type:
Creator:
Ed Catmur
Created:
2008-10-15 01:13:07 UTC
Size:
1.14 KB
patch
obsolete
>--- XPDFCore.cc 2008/10/14 06:13:38 1.1 >+++ XPDFCore.cc 2008/10/14 06:25:39 >@@ -22,6 +22,7 @@ > #include "GlobalParams.h" > #include "PDFDoc.h" > #include "Link.h" >+#include "FileSpec.h" > #include "ErrorCodes.h" > #include "GfxState.h" > #include "CoreOutputDev.h" >@@ -465,7 +466,7 @@ void XPDFCore::doAction(LinkAction *acti > GooString *fileName, *fileName2; > GooString *cmd; > GooString *actionName; >- Object movieAnnot, obj1, obj2; >+ Object movieAnnot, obj1, obj2, obj3; > GooString *msg; > int i; > >@@ -631,7 +632,8 @@ void XPDFCore::doAction(LinkAction *acti > if (movieAnnot.isDict()) { > if (movieAnnot.dictLookup("Movie", &obj1)->isDict()) { > if (obj1.dictLookup("F", &obj2)) { >- if ((fileName = LinkAction::getFileSpecName(&obj2))) { >+ if (getFileSpecNameForPlatform(&obj2, &obj3)) { >+ fileName = obj3.getString()->copy(); > if (!isAbsolutePath(fileName->getCString())) { > fileName2 = appendToPath( > grabPath(doc->getFileName()->getCString()), >@@ -641,6 +643,7 @@ void XPDFCore::doAction(LinkAction *acti > } > runCommand(cmd, fileName); > delete fileName; >+ obj3.free(); > } > obj2.free(); > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 241734
: 168498