![Will Dietz](/assets/img/avatar_default.png)
Fixes #32264. Patch based on one from Fedora texlive-2007-66 source rpm. References: https://bugzilla.redhat.com/show_bug.cgi?id=754517 http://tug.org/pipermail/tex-k/2011-July/002317.html https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633011 https://www.mail-archive.com/tetex@dbs.uni-hannover.de/msg00968.html Redhat discussion suggests this happens when using -Wl,-z,relro (or other linker flags) that change the default memory layout.
13 lines
646 B
Diff
13 lines
646 B
Diff
diff -up texlive-2007/texk/web2c/tex.ch.extramembot texlive-2007/texk/web2c/tex.ch
|
|
--- texlive-2007/texk/web2c/tex.ch.extramembot 2006-12-19 02:11:11.000000000 +0100
|
|
+++ texlive-2007/texk/web2c/tex.ch 2011-11-30 12:03:32.052795763 +0100
|
|
@@ -365,7 +365,7 @@ for i:=@'177 to @'377 do xchr[i]:=i;
|
|
{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;
|