diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-06-06 07:10:37 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-06-06 07:10:37 +0000 |
commit | c86c8b9d22f2780bcc8252cb47c91be09d21cc2c (patch) | |
tree | 453232308c0c837b16ae4929768a81933aa39c0d | |
parent | 0ed607f5f6b02df0fc61aedf914ac23aea3e938d (diff) |
Fix TEXMFOUTPUT bug (w32 only)
git-svn-id: svn://tug.org/texlive/trunk@41293 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.c | 2 |
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); |