diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-08-14 00:33:57 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-08-14 00:33:57 +0000 |
commit | 46607d651dcaecf4c2d2a1deba7033a0989bc6fc (patch) | |
tree | 0134b25f3bd1f9ebf5766d4dd0b94497782a11c5 /Build/source/texk/kpathsea/mingw32.c | |
parent | 7b01a10cd6a2e1f25e7e56ae3d15a363c2bda441 (diff) |
Fix a bug: 'n' and 'f' can be drive letters.
git-svn-id: svn://tug.org/texlive/trunk@31426 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/mingw32.c')
-rw-r--r-- | Build/source/texk/kpathsea/mingw32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/mingw32.c b/Build/source/texk/kpathsea/mingw32.c index c5d2c6e71ab..f6f73719bf7 100644 --- a/Build/source/texk/kpathsea/mingw32.c +++ b/Build/source/texk/kpathsea/mingw32.c @@ -405,7 +405,7 @@ void texlive_gs_init(void) char tlgsbindir[512]; char tlgslibdir[512]; nptr = kpse_var_value("TEXLIVE_WINDOWS_EXTERNAL_GS"); - if (nptr == NULL || *nptr == '0' || *nptr == 'n' || *nptr == 'f') { + if (nptr == NULL || !strcmp(nptr, "0") || !strcmp(nptr, "n") || !strcmp(nptr, "f")) { if (nptr) free (nptr); nptr = kpse_var_value("SELFAUTOPARENT"); |