[tlbuild] hitex tfm loading

Norbert Preining norbert at preining.info
Thu Mar 10 11:35:38 CET 2022


Hi Martin,

I guess you have seen it, but just to make sure. Akira fixed a bug in
the tfm loading code:
--- a/Build/source/texk/web2c/hitexdir/hitex.w
+++ b/Build/source/texk/web2c/hitexdir/hitex.w
@@ -906,7 +906,7 @@ static bool a_open_in(alpha_file *f) /*open a text file for input*/
 }

 static bool b_open_in(byte_file *f)   /*open a binary file for input*/
-{@+f->f= open_in((char *)name_of_file+1,kpse_tfm_format,"r");
+{@+f->f= open_in((char *)name_of_file+1,kpse_tfm_format,"rb");
    if (f->f!=NULL) get(*f);
    return f->f!=NULL && ferror(f->f)==0;
 }

Just to make sure it will not be overwritten later on.

All the best

Norbert

--
PREINING Norbert                              https://www.preining.info
Fujitsu Research     +    IFMGA Guide     +    TU Wien    +    TeX Live
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tlbuild mailing list.