[Poppler-bugs] [Bug 44085] pdfinfo/pdffonts cannot process >2GB files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 23 14:18:21 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=44085

--- Comment #34 from Albert Astals Cid <tsdgeos at terra.es> ---
Seems that this breaks the lexer somehow, when running the ./check_lexer test
in qt4, that does not compile, needs this patch

diff --git a/qt4/tests/check_lexer.cpp b/qt4/tests/check_lexer.cpp
index 1ae849f..1835d93 100644
--- a/qt4/tests/check_lexer.cpp
+++ b/qt4/tests/check_lexer.cpp
@@ -46,8 +46,8 @@ void TestLexer::testNumbers()
     obj.free();

     lexer->getObj(&obj);
-    QCOMPARE(obj.getType(), objUint);
-    QCOMPARE(obj.getUint(), 2147483648u);
+    QCOMPARE(obj.getType(), objInt64);
+    QCOMPARE(obj.getInt64(), 2147483648ll);
     obj.free();

     lexer->getObj(&obj);

The test fails. It seems that 
-2147483647-1
is not detected as a objInt anymore but as a objInt64.

Could you have a look?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130123/7ea1b069/attachment.html>


More information about the Poppler-bugs mailing list