[tex-live] Fwd: Re: Error TL12 kpsewhich in ifxetex

Akira Kakuto kakuto at fuk.kindai.ac.jp
Tue Jun 26 06:54:11 CEST 2012


Hi Norbert,

> --- texmfmp.c	(revision 26897)
> +++ texmfmp.c	(working copy)
> @@ -1853,7 +1853,7 @@
>        fname = xmalloc(strlen((const_string)(nameoffile+1))+1);
>        strcpy(fname,(const_string)(nameoffile+1));
>        recorder_record_input (fname + 1);
> -      *f_ptr = runpopen(fname+1,"rb");
> +      *f_ptr = runpopen(fname+1,"r");
>        free(fname);
>        for (i=0; i<NUM_PIPES; i++) {
>          if (pipes[i]==NULL) {
> 
> That makes it work again.
> 
> the "b" was introduced by Peter in svn 23549
> r23549 | peter | 2011-08-14 23:23:26 +0900 (日, 14  8月 2011) | 1 line

Many thanks. That shoule be
#if defined(WIN32)
      *f_ptr = runpopen(fname+1,"rb");
#else
      *f_ptr = runpopen(fname+1,"r");
#endif

Thanks,
Akira



More information about the tex-live mailing list