fname = (string)xmalloc(strlen(nameoffile+1)); strcpy(fname,nameoffile+1); +#if !defined(pdfTeX) && !defined(pdfeTeX) + if (fullnameoffile) free(fullnameoffile); + fullnameoffile = xstrdup(fname); +#endif *f_ptr = popen(fname+1,"r"); free(fname); I installed this in texmfmp.c. Thanks.