[tex-live] bug in etex

Hans Hagen pragma at wxs.nl
Fri Jul 9 18:41:07 CEST 2004

Hi Taco (since i think that you qualify for sorting this out -) and others,

Etex can have > 256 token registers. The following fails (bombs) on my machine (i cannot make atest file since it's part of a more complex piece of code) 

\toks260 has some content 
\toks262 is yet empty and never accessed 

failure : 


failure (content copied, but later on bug and no content) : 


success (but empty destination register) 


So, it looks like there is some problem with \toksdeffed things: \somename with meaning \toks262 is treated differently from the direct call and content is not copied; it may be related to the fact that those  >255 registers are implement differently (using main mem if i remember right) than the lower ones. 

The bug has a slightly random character (changing order/place). 


                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl

More information about the tex-live mailing list