Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 685284 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +4 lines)
Line  Link Here
0
-- /texk/web2c/pdftexdir/pdftoepdf.cc
0
++ /texk/web2c/pdftexdir/pdftoepdf.cc
Lines 766-772 Link Here
766
        if (link == 0 || !link->isOk())
766
        if (link == 0 || !link->isOk())
767
            pdftex_fail("PDF inclusion: invalid destination <%s>", page_name);
767
            pdftex_fail("PDF inclusion: invalid destination <%s>", page_name);
768
        Ref ref = link->getPageRef();
768
        Ref ref = link->getPageRef();
769
        page_num = pdf_doc->doc->getCatalog()->findPage(ref.num, ref.gen);
769
        page_num = pdf_doc->doc->getCatalog()->findPage(ref);
770
        if (page_num == 0)
770
        if (page_num == 0)
771
            pdftex_fail("PDF inclusion: destination is not a page <%s>",
771
            pdftex_fail("PDF inclusion: destination is not a page <%s>",
772
                        page_name);
772
                        page_name);
773
-- /texk/web2c/pdftexdir/pdftosrc.cc
773
++ /texk/web2c/pdftexdir/pdftosrc.cc
Lines 42-48 Link Here
42
42
43
#include "Object.h"
43
#include "Object.h"
44
#include "Stream.h"
44
#include "Stream.h"
45
#include "Lexer.h"
46
#include "Parser.h"
45
#include "Parser.h"
47
#include "Array.h"
46
#include "Array.h"
48
#include "Dict.h"
47
#include "Dict.h"
Lines 169-175 Link Here
169
                // parse the header: object numbers and offsets
168
                // parse the header: object numbers and offsets
170
                objStr.streamReset();
169
                objStr.streamReset();
171
                str = new EmbedStream(objStr.getStream(), Object(objNull), true, first);
170
                str = new EmbedStream(objStr.getStream(), Object(objNull), true, first);
172
                parser = new Parser(xref, new Lexer(xref, str), false);
171
                parser = new Parser(xref, str, false);
173
                for (n = 0; n < nObjects; ++n) {
172
                for (n = 0; n < nObjects; ++n) {
174
                    obj1 = parser->getObj();
173
                    obj1 = parser->getObj();
175
                    obj2 = parser->getObj();
174
                    obj2 = parser->getObj();

Return to bug 685284