diff options
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/kpsewhich.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 98cacb2337b..2515fe4a06c 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,9 +1,10 @@ 2009-06-01 Karl Berry <karl@tug.org> - * Update version numbers 5.0.0. + * Update version numbers to 5.0.0. * kpsewhich.c (lookup): translate ; to : in user_path, - for consistency. Report from Tomek T. + for consistency. Also do path expansions as promised in the + documentation. Report from Tomek T. 2009-05-15 Peter Breitenlohner <peb@mppmu.mpg.de> diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index e0280d816e7..e187482672d 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -247,8 +247,9 @@ lookup (kpathsea kpse, string name) *loc = ':'; } } + user_path = kpathsea_path_expand (kpse, user_path); if (show_all) { - ret_list = kpathsea_all_path_search (kpse, user_path, name); + ret_list = kpathsea_all_path_search (kpse, user_path, name); } else { ret = kpathsea_path_search (kpse, user_path, name, must_exist); } |