From eacc5314b5e08b8231d8eabe1b0dffbc88e013ab Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Thu, 1 Oct 2015 22:40:56 +0000 Subject: web2c/luatexdir/pdf/pdfgen.w: Sync with the upstream. git-svn-id: svn://tug.org/texlive/trunk@38516 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/ChangeLog | 4 ++++ Build/source/texk/web2c/luatexdir/pdf/pdfgen.w | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'Build/source/texk') diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index 6aabd31036b..7ead13f9f81 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,7 @@ +2015-10-01 Akira Kakuto + + * pdf/pdfgen.w: Sync with the upstream trunk. + 2015-09-01 Peter Breitenlohner * lua/lepdflib.cc: Drop useless casts 'const char *' -> 'char *' diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w index c818c39e08a..d825b885a49 100644 --- a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w +++ b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w @@ -1679,7 +1679,7 @@ char *getcreationdate(PDF pdf) void remove_pdffile(PDF pdf) { if (pdf != NULL) { - if (!kpathsea_debug && pdf->file_name && (pdf->draftmode != 0)) { + if (!kpathsea_debug && pdf->file_name && (pdf->draftmode == 0)) { xfclose(pdf->file, pdf->file_name); remove(pdf->file_name); } -- cgit v1.2.3