summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tex-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r--Build/source/texk/kpathsea/tex-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index 4dcade9f566..0b008ac443e 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -1304,7 +1304,7 @@ executable_filep (kpathsea kpse, const_string fname, boolean silent)
pp = kpse->suffixlist;
if (pp && q) {
while (*pp) {
- if (strchr (fname, ':') || !strcmp (q, *pp)) {
+ if (!strcmp (q, *pp)) {
if (!silent)
fprintf (stderr, "\n%s: Forbidden to open for writing\n", fname);
free (base);