diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 3 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/kpsewhich.c | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index d7adc9c3118..98cacb2337b 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -2,6 +2,9 @@ * Update version numbers 5.0.0. + * kpsewhich.c (lookup): translate ; to : in user_path, + for consistency. Report from Tomek T. + 2009-05-15 Peter Breitenlohner <peb@mppmu.mpg.de> * absolute.c, hash.c: Avoid C99isms (variable declaration not at diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index 794e790475f..e0280d816e7 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -239,6 +239,14 @@ lookup (kpathsea kpse, string name) string *ret_list = NULL; if (user_path) { + /* Translate ; to : if that's our ENV_SEP. See cnf.c. */ + if (IS_ENV_SEP (':')) { + string loc; + for (loc = user_path; *loc; loc++) { + if (*loc == ';') + *loc = ':'; + } + } if (show_all) { ret_list = kpathsea_all_path_search (kpse, user_path, name); } else { |