[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#264394: tetex-bin: e-TeX is broken on registers > 255



FYI, I believe that the problem can be worked around (at the expense
of leaking some memory) by changing .../texk/web2c/etexdir/etex.fix to
read as follows:

---------------8<---------------8<---------------
% Bugfixes for etex.ch version 2.1
% Public Domain.

@x l.1163 - |int_val| is a level, not a value.
    begin cur_val:=int_val;
@y
    begin cur_val_level:=int_val;
@z

@x l.2737 - typo
    else q:=sa_ptr(cur_ptr)
@y
    else q:=sa_ptr(cur_chr)
@z

@x l.5503 - comparison with 0 instead of |null|.
  if cur_ptr<>0 then
@y
  if cur_ptr<>null then
@z

@x l.5514 - do not deallocate even when reference count goes to 0.
begin decr(sa_ref(q));
@y
begin decr(sa_ref(q));
return;
@z
---------------8<---------------8<---------------

-- 
Olaf Weber

               (This space left blank for technical reasons.)




Reply to: