diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-06-02 22:24:41 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-06-02 22:24:41 +0000 |
commit | 381dadfa560b881f5d8f5a9592bfdf601c21bcd0 (patch) | |
tree | 7382156a5af84fd1faf9a50c390ac83169876338 /Build/source/texk/web2c | |
parent | 130a3114831ac28cca672203467b03dcc44b1f77 (diff) |
pdftex r829 (Hironobu's patch)
git-svn-id: svn://tug.org/texlive/trunk@55394 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/pdftex.web | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index 108d6ce8808..2e9265de4a2 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,9 @@ +2020-06-03 Thanh Han The <hanthethanh@gmail.com> + + * pdftex.web: Initialize save_tail to avoid garbage values. + Remove unnecessary codes. Both from Hironobu Yamashita. + pdftex r829. + 2020-06-02 Thanh Han The <hanthethanh@gmail.com> * pdftex.web (auto_kern): @d=3, rather than "explicit". diff --git a/Build/source/texk/web2c/pdftexdir/pdftex.web b/Build/source/texk/web2c/pdftexdir/pdftex.web index 7a3340f59c4..1bf5e58e72c 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftex.web +++ b/Build/source/texk/web2c/pdftexdir/pdftex.web @@ -4996,7 +4996,7 @@ any more details about the page-building process. @<Set init...@>= nest_ptr:=0; max_nest_stack:=0; mode:=vmode; head:=contrib_head; tail:=contrib_head; -eTeX_aux:=null; +eTeX_aux:=null; save_tail:=null; prev_depth:=ignore_depth; mode_line:=0; prev_graf:=0; shown_mode:=0; @<Start a new current page@>; @@ -17241,9 +17241,9 @@ begin (save_tail <> null) then begin r := save_tail; - while (r <> null) and (link(r) <> null) and (link(r) <> p) do + while (link(r) <> null) and (link(r) <> p) do r := link(r); - if (r <> null) and (link(r) = p) then + if (link(r) = p) then set_char_and_font(r); {set |f| and |c| if |r| is a char or ligature} end; if (c = non_char) then |