summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-06-18 23:51:47 +0000
committerKarl Berry <karl@freefriends.org>2006-06-18 23:51:47 +0000
commiteb7ebdab824ef0129869879d86325b7058bdfd18 (patch)
tree8d5ac09ea9ab2142ee8d1e50d9fc83718fdc163e /Build
parent93ee5e5b5143e06c9dcd153a460dd1a45f6fea1a (diff)
(open_in_or_pipe) [!pdfTeX && !pdfeTeX]: track
fullnameoffile; from Akira and Jonathan. git-svn-id: svn://tug.org/texlive/trunk@1700 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index d876e075170..8511256ba11 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -1221,6 +1221,11 @@ open_in_or_pipe P3C(FILE **, f_ptr, int, filefmt, const_string, fopen_mode)
*f_ptr = NULL;
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);
for (i=0; i<=15; i++) {