summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/eptexdir
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2021-06-25 08:59:50 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2021-06-25 08:59:50 +0000
commit0ddcde597b889089494d2a84f307947c67bcd3c1 (patch)
treef32b7c70e7437af5c48a56df9c854dceb8f3a20f /Build/source/texk/web2c/eptexdir
parentb3a43403a70c9cc74b45548e79501eaa43b65411 (diff)
ptex: fix segmentation fault for disp_node-only paragraphs in line_break
git-svn-id: svn://tug.org/texlive/trunk@59697 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/eptexdir')
-rw-r--r--Build/source/texk/web2c/eptexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/eptexdir/etex.ch110
2 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/eptexdir/ChangeLog b/Build/source/texk/web2c/eptexdir/ChangeLog
index 7c10d9ef1dd..09ad2fa3f4b 100644
--- a/Build/source/texk/web2c/eptexdir/ChangeLog
+++ b/Build/source/texk/web2c/eptexdir/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-25 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
+
+ * etex.ch1: Adapt to ptex-base.ch for fix of
+ https://github.com/texjporg/tex-jp-build/issues/123
+
2021-03-23 Karl Berry <karl@tug.org>
* TL'21.
diff --git a/Build/source/texk/web2c/eptexdir/etex.ch1 b/Build/source/texk/web2c/eptexdir/etex.ch1
index 7e9e789486f..aa1d33c3752 100644
--- a/Build/source/texk/web2c/eptexdir/etex.ch1
+++ b/Build/source/texk/web2c/eptexdir/etex.ch1
@@ -154,6 +154,16 @@ change_box(q);
@z
@x [48.1145]
+ pop_nest; w:=-max_dimen;
+ end
+ { |disp_node|-only paragraphs are ignored }
+@y
+ @<Prepare for display after an empty paragraph@>
+ end
+ { |disp_node|-only paragraphs are ignored }
+@z
+
+@x [48.1145]
else begin adjust_hlist(head,true); line_break(display_widow_penalty);@/
@y
else begin adjust_hlist(head,true); line_break(true);@/