[tex-live] Re: [tex-pretest] Web2C 7.5.2 -- "critical fixes"

Fabrice Popineau Fabrice.Popineau at supelec.fr
Sat Feb 22 15:47:49 CET 2003


> I'm not sure I understand your point?

I mean to be exactly symetric, REGFIX should always be defined.

>> EncTeX is dumping a boolean and it was dumped as an int and undumped
>> as a boolean (different sizes). So be warned. I had to define REGFIX.

> Don't ever dump booleans directly.  Where is encTeX doing this?

in enc-option.patch-to-7.5 :

+dump_int(enc_option);
+if enc_option then
+begin
+  dump_things(xord[0], 256);
+  dump_things(xchr[0], 256);
+  dump_things(xprn[0], 256);
+  dump_things(mubyte_read[0], 256);
+  dump_things(mubyte_write[0], 256);
+  dump_things(mubyte_cswrite[0], 128);
+  print (" encTeX data dumped");
+end

If you dump a boolean using dump_int, it will be cast to an int. If you
undump it without REGFIX defined, then it will be undumped as a boolean,
at least on my machine/compiler. 

Fabrice



More information about the tex-live mailing list