summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/tex-file.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 59de2f05a72..28631789998 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-28 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * tex-file.c: Fix a bug that TEXMFOUTPUT does not work (w32 only).
+ See http://tug.org/pipermail/tex-k/2016-May/002719.html.
+
2016-05-20 Karl Berry <karl@tug.org>
* Version 6.2.2 for TeX Live 2016.
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);