texlive[48850] Build/source/texk/dvipdfm-x: Clear static variables to
commits+kakuto at tug.org
commits+kakuto at tug.org
Sun Oct 7 10:49:43 CEST 2018
Revision: 48850
http://tug.org/svn/texlive?view=revision&revision=48850
Author: kakuto
Date: 2018-10-07 10:49:43 +0200 (Sun, 07 Oct 2018)
Log Message:
-----------
Clear static variables to allow PDF functions to be used more than once (Simon Cozens).
Modified Paths:
--------------
trunk/Build/source/texk/dvipdfm-x/ChangeLog
trunk/Build/source/texk/dvipdfm-x/pdfobj.c
Modified: trunk/Build/source/texk/dvipdfm-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/ChangeLog 2018-10-07 00:18:01 UTC (rev 48849)
+++ trunk/Build/source/texk/dvipdfm-x/ChangeLog 2018-10-07 08:49:43 UTC (rev 48850)
@@ -1,3 +1,8 @@
+2018-10-07 Simon Cozens <simon at simon-cozens.org>
+
+ * pdfobj.c: Clear static variables to allow PDF funcfions to
+ be used more than once.
+
2018-10-02 Shunsaku Hirata <shunsaku.hirata74 at gmail.com>
* dvipdfmx.c: Fixed a bug in handling of command line option '-M'.
Modified: trunk/Build/source/texk/dvipdfm-x/pdfobj.c
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/pdfobj.c 2018-10-07 00:18:01 UTC (rev 48849)
+++ trunk/Build/source/texk/dvipdfm-x/pdfobj.c 2018-10-07 08:49:43 UTC (rev 48850)
@@ -538,6 +538,8 @@
#endif /* !LIBDPX */
MFCLOSE(pdf_output_file);
+ pdf_output_file_position = 0;
+ pdf_output_line_position = 0;
pdf_output_file = NULL;
}
#if defined(PDFOBJ_DEBUG)
More information about the tex-live-commits
mailing list