Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290121 Details for
Bug 387049
app-misc/strigi-0.7.6: please cherry pick a upstream commit to fix kde bug #281088
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to prevent kfilemetadatareader from crashing when hovering a PDF in dolphin
pdfparser.patch (text/plain), 646 bytes, created by
George L. Emigh
on 2011-10-17 21:23:37 UTC
(
hide
)
Description:
patch to prevent kfilemetadatareader from crashing when hovering a PDF in dolphin
Filename:
MIME Type:
Creator:
George L. Emigh
Created:
2011-10-17 21:23:37 UTC
Size:
646 bytes
patch
obsolete
>--- libstreamanalyzer/lib/pdf/pdfparser.cpp.orig 2011-07-26 13:12:39.000000000 -0400 >+++ libstreamanalyzer/lib/pdf/pdfparser.cpp 2011-10-17 16:24:10.719491844 -0400 >@@ -35,12 +35,13 @@ > PdfParser::read(int32_t min, int32_t max) { > int32_t off = (int32_t)(pos-start); > int32_t d = (int32_t)(stream->position() - bufferStart); >- bufferStart += off; >+ min += d; >+ if (max > 0) max += d; > stream->reset(bufferStart); > int32_t n = stream->read(start, min, max); > // printf("objstart %i %i\n", d, n); > if (n < min) return stream->status(); >- pos = start; >+ pos = start + off; > end = start + n; > return Ok; > }
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 387049
: 290121