summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-04-17 07:19:19 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-04-17 07:19:19 +0000
commit413a0e9261845c5ae229366b528e7940ddc0925c (patch)
tree13ea6ae054379a7d50dfb5348f132271e968abad /Build
parent61b2e8fae6bf01dcf22c6c621d7f98515c6a3f7c (diff)
e-(u)pTeX: Bug fix from Werner Fink to avoid segmentation fault
git-svn-id: svn://tug.org/texlive/trunk@26009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/eptexdir/ChangeLog6
-rw-r--r--Build/source/texk/web2c/eptexdir/eptex.ech5
2 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/eptexdir/ChangeLog b/Build/source/texk/web2c/eptexdir/ChangeLog
index 17ac2151cdb..0962b67bc9b 100644
--- a/Build/source/texk/web2c/eptexdir/ChangeLog
+++ b/Build/source/texk/web2c/eptexdir/ChangeLog
@@ -1,3 +1,9 @@
+2012-04-17 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * eptex.ech (just_copy): Bug fix, copy the additional pTeX word.
+ Mail from Werner Fink <werner@suse.de>
+ [tex-live] Mon, Apr 16 16:28:50.
+
2011-12-19 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
* fam256.ch, eptex.defines: Avoid Segmentation fault for
diff --git a/Build/source/texk/web2c/eptexdir/eptex.ech b/Build/source/texk/web2c/eptexdir/eptex.ech
index 3255a77e2b3..0f29c2f97da 100644
--- a/Build/source/texk/web2c/eptexdir/eptex.ech
+++ b/Build/source/texk/web2c/eptexdir/eptex.ech
@@ -300,9 +300,10 @@ othercases goto next_p
hlist_node,vlist_node: begin r:=get_node(box_node_size);
@z
@x e-pTeX: just_copy
- words:=5; list_ptr(r):=null; {this affects |mem[r+5]|}
+ mem[r+6]:=mem[p+6]; mem[r+5]:=mem[p+5]; {copy the last two words}
@y
- words:=5; list_ptr(r):=null; {this affects |mem[r+5]|}
+ mem[r+7]:=mem[p+7];
+ mem[r+6]:=mem[p+6]; mem[r+5]:=mem[p+5]; {copy the last three words}
add_glue_ref(space_ptr(r)); add_glue_ref(xspace_ptr(r));
@z