diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-12-26 23:07:57 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-12-26 23:07:57 +0000 |
commit | 6945a78d6a47eae1859e78572ba77372d0d1d772 (patch) | |
tree | 4923260ecfe19fe9335604576d571362c94159a9 | |
parent | 7e3e0cf7e28e84e6b40cce44d746eb2ce52b5121 (diff) |
Small changes for LIBDPX (from Clerk Ma)
git-svn-id: svn://tug.org/texlive/trunk@49507 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfobj.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 6925adaf163..fc5bbf1ef31 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,8 @@ +2018-12-27 Clerk Ma <maqiyuan130324@vip.qq.com> + + * pdfobj.c: Introduce a static variable pdf_output_file_stats + for LIBDPX. It does not affect (x)dvipdfmx. + 2018-12-21 Shunsaku Hirata <shunsaku.hirata74@gmail.com> * dvi.[ch], dvipdfmx.c, pdfdoc.[ch], pdfencrypt.[ch], diff --git a/Build/source/texk/dvipdfm-x/pdfobj.c b/Build/source/texk/dvipdfm-x/pdfobj.c index a09bb2a41b8..be799cc2290 100644 --- a/Build/source/texk/dvipdfm-x/pdfobj.c +++ b/Build/source/texk/dvipdfm-x/pdfobj.c @@ -476,10 +476,11 @@ dump_xref_stream (void) } #if defined(LIBDPX) +static long pdf_output_file_stats = 0; long pdf_output_stats (void) { - return pdf_output_file_position; + return pdf_output_file_stats; } #endif /* LIBDPX */ @@ -535,6 +536,8 @@ pdf_out_flush (void) } #if !defined(LIBDPX) MESG("%ld bytes written", pdf_output_file_position); +#else + pdf_output_file_stats = pdf_output_file_position; #endif /* !LIBDPX */ MFCLOSE(pdf_output_file); |