summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-10-01 22:40:56 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-10-01 22:40:56 +0000
commiteacc5314b5e08b8231d8eabe1b0dffbc88e013ab (patch)
treec5f3b48177c422103dfc6731fb33cf518a79c523
parent1e1cbc8b919951e7c664bb9449b1e62be3fc87bc (diff)
web2c/luatexdir/pdf/pdfgen.w: Sync with the upstream.
git-svn-id: svn://tug.org/texlive/trunk@38516 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/luatexdir/pdf/pdfgen.w2
2 files changed, 5 insertions, 1 deletions
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 <kakuto@fuk.kindai.ac.jp>
+
+ * pdf/pdfgen.w: Sync with the upstream trunk.
+
2015-09-01 Peter Breitenlohner <peb@mppmu.mpg.de>
* 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);
}