[tex-live] shell_escape extension patch

Karl Berry karl at freefriends.org
Mon Jun 19 01:52:22 CEST 2006


            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.


More information about the tex-live mailing list