summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/find-suffix.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-06-28 10:20:13 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-06-28 10:20:13 +0000
commitba2c33bcc94b39c1eabe62fee838173aa14e76c4 (patch)
treefb6cf347803b10bcf894aa69535dc0b2b60d6809 /Build/source/texk/kpathsea/find-suffix.c
parentf39500686f1d59c546088298de78c179dc55189e (diff)
kpathsea: Eliminate global and static variables (w32 only)
git-svn-id: svn://tug.org/texlive/trunk@41557 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/find-suffix.c')
-rw-r--r--Build/source/texk/kpathsea/find-suffix.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/find-suffix.c b/Build/source/texk/kpathsea/find-suffix.c
index 3aad8870fe9..8d0d92d9107 100644
--- a/Build/source/texk/kpathsea/find-suffix.c
+++ b/Build/source/texk/kpathsea/find-suffix.c
@@ -1,6 +1,6 @@
/* find-suffix.c: return the stuff after a dot.
- Copyright 1992, 1993, 1995, 2008, 2011 Karl Berry.
+ Copyright 1992, 1993, 1995, 2008, 2011, 2016 Karl Berry.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -47,10 +47,6 @@ find_suffix (const_string name)
for (p = dot_pos + 1; *p; p++) {
if (IS_DIR_SEP (*p))
return NULL;
-#if defined(WIN32)
- else if (IS_KANJI(p))
- p++;
-#endif
}
return dot_pos + 1;