summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/expand.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-07-26 10:20:07 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-07-26 10:20:07 +0000
commit8d4af963a232f6c2cdbf510179c05af4140d3264 (patch)
tree919ffa0fb8d422560c77a04760bb2001729e9070 /Build/source/texk/kpathsea/expand.c
parentb682bb00112f1062d00240543c0a0038413d148a (diff)
kpathsea: More changes to reduce diffs with W32TeX
git-svn-id: svn://tug.org/texlive/trunk@23230 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/expand.c')
-rw-r--r--Build/source/texk/kpathsea/expand.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/expand.c b/Build/source/texk/kpathsea/expand.c
index 895a627b510..f1199559f17 100644
--- a/Build/source/texk/kpathsea/expand.c
+++ b/Build/source/texk/kpathsea/expand.c
@@ -1,6 +1,6 @@
/* expand.c: general expansion.
- Copyright 1993, 1994, 1995, 1996, 1997, 1998, 2005, 2008, 2009
+ Copyright 1993, 1994, 1995, 1996, 1997, 1998, 2005, 2008, 2009, 2011
Karl Berry & Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -296,7 +296,6 @@ static void expand_append (str_list_type* partial,
}
-
static str_list_type
brace_expand (kpathsea kpse, const_string *text)
{
@@ -305,6 +304,12 @@ brace_expand (kpathsea kpse, const_string *text)
result = str_list_init();
partial = str_list_init();
for (p = *text; *p && *p != '}'; ++p) {
+#if defined(WIN32)
+ if (IS_KANJI(p)) {
+ p++;
+ continue;
+ }
+#endif
/* FIXME: Should be IS_ENV_SEP(*p) */
if (*p == ENV_SEP || *p == ',') {
expand_append(&partial, *text, p);