summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/elt-dirs.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-02 10:26:16 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-02 10:26:16 +0000
commit9a634e078306d7a674684828beaabdc6f14c37cc (patch)
tree172b53bc09053fd914090aab6c0e272b3c0bd791 /Build/source/texk/kpathsea/elt-dirs.c
parent875be8166b919a05395f1754da3678a18758fab8 (diff)
kpathsea: More changes to reduce diffs with W32TeX
git-svn-id: svn://tug.org/texlive/trunk@23314 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/elt-dirs.c')
-rw-r--r--Build/source/texk/kpathsea/elt-dirs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/elt-dirs.c b/Build/source/texk/kpathsea/elt-dirs.c
index 2fe3139cf90..d1c5f74ef13 100644
--- a/Build/source/texk/kpathsea/elt-dirs.c
+++ b/Build/source/texk/kpathsea/elt-dirs.c
@@ -36,7 +36,7 @@ dir_list_add (str_llist_type *l, string dir)
{
char last_char = dir[strlen (dir) - 1];
string saved_dir
- = IS_DIR_SEP (last_char) || IS_DEVICE_SEP (last_char)
+ = IS_DIR_SEP_CH (last_char) || IS_DEVICE_SEP (last_char)
? xstrdup (dir)
: concat (dir, DIR_SEP_STRING);
@@ -125,7 +125,7 @@ do_subdir (kpathsea kpse, str_llist_type *str_list_ptr, string elt,
/* Some old compilers don't allow aggregate initialization. */
name = fn_copy0 (elt, elt_length);
- assert (IS_DIR_SEP (elt[elt_length - 1])
+ assert (IS_DIR_SEP_CH (elt[elt_length - 1])
|| IS_DEVICE_SEP (elt[elt_length - 1]));
#if defined (WIN32)
@@ -312,12 +312,12 @@ expand_elt (kpathsea kpse, str_llist_type * str_list_ptr, string elt,
while (*dir != 0)
{
- if (IS_DIR_SEP (*dir))
+ if (IS_DIR_SEP_CH (*dir))
{
/* If two or more consecutive /'s, find subdirectories. */
- if (IS_DIR_SEP (dir[1]))
+ if (IS_DIR_SEP_CH (dir[1]))
{
- for (post = dir + 1; IS_DIR_SEP (*post); post++) ;
+ for (post = dir + 1; IS_DIR_SEP_CH (*post); post++) ;
do_subdir (kpse, str_list_ptr, elt, dir - elt + 1, post);
return;
}