summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-31 00:17:49 +0000
committerKarl Berry <karl@freefriends.org>2011-01-31 00:17:49 +0000
commit53ba648cb39e4ae22827f70acdcd84cdc0743163 (patch)
treee886ac00cf052fe92aa2d85338aca7fefcc53516 /Build/source/texk
parent64b4489fd060df67e714f34b8b18fb265e84d22a (diff)
ret, not popen. shoot me now.
git-svn-id: svn://tug.org/texlive/trunk@21234 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/dvipsk/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/search.c b/Build/source/texk/dvipsk/search.c
index be5e1ab35e8..ec37f8b3e5e 100644
--- a/Build/source/texk/dvipsk/search.c
+++ b/Build/source/texk/dvipsk/search.c
@@ -164,7 +164,7 @@ search(kpse_file_format_type format, const char *file, const char *mode)
ret = popen (cmd, "r");
if (dd(D_FILES)) {
fprintf(stderr, "popen(%s) %s\n", cmd,
- popen == NULL ? "failed" : "succeeded");
+ ret == NULL ? "failed" : "succeeded");
}
SET_BINARY(fileno(ret));
to_close = USE_PCLOSE;