texlive[45038] Build/source/texk/web2c/pdftexdir: pdftosrc.cc: Avoid
commits+kakuto at tug.org
commits+kakuto at tug.org
Mon Aug 14 00:47:06 CEST 2017
Revision: 45038
http://tug.org/svn/texlive?view=revision&revision=45038
Author: kakuto
Date: 2017-08-14 00:47:06 +0200 (Mon, 14 Aug 2017)
Log Message:
-----------
pdftosrc.cc: Avoid a crash for xpdf-4.00
Modified Paths:
--------------
trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
trunk/Build/source/texk/web2c/pdftexdir/pdftosrc.cc
Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog 2017-08-13 21:02:24 UTC (rev 45037)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog 2017-08-13 22:47:06 UTC (rev 45038)
@@ -1,3 +1,8 @@
+2017-08-13 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
+
+ * pdftosrc.cc: Remove a line, which I believe is not necessary,
+ to avoid a crash for xpdf-4.00.
+
2017-04-19 Karl Berry <karl at freefriends.org>
* mapfile.c (read_field): new parameter buf_size,
Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftosrc.cc
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftosrc.cc 2017-08-13 21:02:24 UTC (rev 45037)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftosrc.cc 2017-08-13 22:47:06 UTC (rev 45038)
@@ -1,5 +1,5 @@
/*
-Copyright 1996-2014 Han The Thanh, <thanh at pdftex.org>
+Copyright 1996-2017 Han The Thanh, <thanh at pdftex.org>
This file is part of pdfTeX.
@@ -179,7 +179,10 @@
obj1.free();
obj2.free();
}
+/* FIXME: crashes here for xpdf 4.00. Is this line really necessary?
+ Temporarily this line is disabled.
while (str->getChar() != EOF) ;
+*/
delete parser;
objStr.free();
More information about the tex-live-commits
mailing list