[tldistro] off-by-one initialization fix on branch2011

Karl Berry karl at freefriends.org
Mon Aug 29 02:17:26 CEST 2011


I imported the patch below to TL's branch2011, bringing our total to two
changes on the branch ... http://tug.org/svn/texlive/branches/branch2011/

k

--- texlive-bin-2011.20110628.orig/texk/web2c/xetexdir/xetex.ch 2011-08-03 22:45
:45.000000000 +0900
+++ texlive-bin-2011.20110628/texk/web2c/xetexdir/xetex.ch      2011-08-03 22:45
:53.000000000 +0900
@@ -328,7 +328,7 @@
 {Initialize enc\TeX\ data.}
 for i:=0 to 255 do mubyte_read[i]:=null;
 for i:=0 to 255 do mubyte_write[i]:=0;
-for i:=0 to 128 do mubyte_cswrite[i]:=null;
+for i:=0 to 127 do mubyte_cswrite[i]:=null;
 mubyte_keep := 0; mubyte_start := false;
 write_noexpanding := false; cs_converting := false;
 special_printing := false; message_printing := false;
--- texlive-bin-2011.20110628.orig/texk/web2c/enctex.ch 2011-08-03 22:45:59.000000000 +0900
+++ texlive-bin-2011.20110628/texk/web2c/enctex.ch      2011-08-03 22:46:08.000000000 +0900
@@ -42,7 +42,7 @@
 {Initialize enc\TeX\ data.}
 for i:=0 to 255 do mubyte_read[i]:=null;
 for i:=0 to 255 do mubyte_write[i]:=0;
-for i:=0 to 128 do mubyte_cswrite[i]:=null;
+for i:=0 to 127 do mubyte_cswrite[i]:=null;
 mubyte_keep := 0; mubyte_start := false;
 write_noexpanding := false; cs_converting := false;
 special_printing := false; message_printing := false;



More information about the tldistro mailing list