diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-29 00:32:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-29 00:32:02 +0000 |
commit | 7d821df03f20eb5c0379c04ea407c75f2436502f (patch) | |
tree | 3b1bef8beaad104deba428956b831b4a4f8f75b2 /Build/source/texk/dvipsk/search.c | |
parent | eb9f81c6f8ed959b7b4543e0d4e28721394512e0 (diff) |
make .tex and test.pl use the same name, report exact popen call if debugging
git-svn-id: svn://tug.org/texlive/trunk@21216 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/search.c')
-rw-r--r-- | Build/source/texk/dvipsk/search.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/dvipsk/search.c b/Build/source/texk/dvipsk/search.c index 193007c4688..be5e1ab35e8 100644 --- a/Build/source/texk/dvipsk/search.c +++ b/Build/source/texk/dvipsk/search.c @@ -162,6 +162,10 @@ search(kpse_file_format_type format, const char *file, const char *mode) char *prog = selfautoloc_prog (GUNZIP); cmd = concat3 (prog, " -c ", quoted_name); ret = popen (cmd, "r"); + if (dd(D_FILES)) { + fprintf(stderr, "popen(%s) %s\n", cmd, + popen == NULL ? "failed" : "succeeded"); + } SET_BINARY(fileno(ret)); to_close = USE_PCLOSE; free (cmd); |