diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-08-13 22:47:06 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-08-13 22:47:06 +0000 |
commit | 40cfa5b3a6684b82b8dee780f63cb0e47871bbc4 (patch) | |
tree | e2093d2bc713ca47494d329bf4cd8d690d909800 /Build/source | |
parent | f31491c8f1cb6807761fc3dd28048f6c76b69367 (diff) |
pdftosrc.cc: Avoid a crash for xpdf-4.00
git-svn-id: svn://tug.org/texlive/trunk@45038 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/pdftosrc.cc | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index 1be150a06de..41629f27c5a 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,8 @@ +2017-08-13 Akira Kakuto <kakuto@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@freefriends.org> * mapfile.c (read_field): new parameter buf_size, diff --git a/Build/source/texk/web2c/pdftexdir/pdftosrc.cc b/Build/source/texk/web2c/pdftexdir/pdftosrc.cc index 42b9e066f5d..ff3944fac0c 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftosrc.cc +++ b/Build/source/texk/web2c/pdftexdir/pdftosrc.cc @@ -1,5 +1,5 @@ /* -Copyright 1996-2014 Han The Thanh, <thanh@pdftex.org> +Copyright 1996-2017 Han The Thanh, <thanh@pdftex.org> This file is part of pdfTeX. @@ -179,7 +179,10 @@ int main(int argc, char *argv[]) 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(); |