Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. diff -u -r qpdf-2.2.3/libqpdf/QPDF_linearization.cc qpdf-2.2.3-patched/libqpdf/QPDF_linearization.cc
  2. --- qpdf-2.2.3/libqpdf/QPDF_linearization.cc 2011-01-31 15:59:42.000000000 +0100
  3. +++ qpdf-2.2.3-patched/libqpdf/QPDF_linearization.cc 2011-05-15 12:57:54.422316244 +0200
  4. @@ -94,7 +94,6 @@
  5.  
  6. static PCRE lindict_re("(?s:(\\d+)\\s+0\\s+obj\\s*<<)");
  7.  
  8. - off_t offset = -1;
  9. int lindict_obj = -1;
  10. char* p = buf;
  11. while (lindict_obj == -1)
  12. @@ -102,7 +101,6 @@
  13. PCRE::Match m(lindict_re.match(p));
  14. if (m)
  15. {
  16. - offset = m.getOffset(0) + (p - buf);
  17. lindict_obj = atoi(m.getMatch(1).c_str());
  18. if (m.getMatch(0).find('\n') != std::string::npos)
  19. {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement