summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-01 00:19:34 +0000
committerKarl Berry <karl@freefriends.org>2009-06-01 00:19:34 +0000
commit4e875a1db1b084b7a86ffb2dc22d508eef3c3d68 (patch)
tree571a2b2ed3569e7f2ba110cf5a84ae85b856ce42 /Build/source
parent1f4af4730e136afbd88453cd0effdfea9ef482cd (diff)
do expansions on user --path value
git-svn-id: svn://tug.org/texlive/trunk@13553 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/kpsewhich.c3
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);
}