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

Norbert Preining preining at logic.at
Tue Jun 26 06:39:29 CEST 2012


On Di, 26 Jun 2012, Akira Kakuto wrote:
> I don't know what was changed, if it worked in TL 2011.

--- 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

upTeX and e-upTeX (preliminary)


where "r" -> "rb"
and "w" -> "wb"

in popen mode. But this seems not to be supported on all platforms.

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
CLACKAVOID (n.)
Technical BBC term for a page of dialogue from Blake's Seven.
			--- Douglas Adams, The Meaning of Liff


More information about the tex-live mailing list