diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/kpsewhich.c | 2 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/pathsearch.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 942b0069bfe..4abb8913090 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,8 @@ +2008-01-18 Karl Berry <karl@tug.org> + + * kpsewhich.c (subdir_match): XRETALLOC is a statement not a function. + * pathsearch.c (search_list): remove unused variable uniq_list. + 2008-01-16 Karl Berry <karl@tug.org> * absolute.c through config.h: replace FSF physical address with url. diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index 98f5c51b002..27c7d2a510f 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -202,7 +202,7 @@ subdir_match P2C(str_list_type, subdirs, string *, matches) } if (FILESTRCASEEQ (subdir, s + loc - subdir_len)) { /* matched, save this one. */ - ret = XRETALLOC (ret, len + 1, string); + XRETALLOC (ret, len + 1, string); ret[len-1] = matches[m]; len++; } diff --git a/Build/source/texk/kpathsea/pathsearch.c b/Build/source/texk/kpathsea/pathsearch.c index 2234ed7cb29..12e526c1a8b 100644 --- a/Build/source/texk/kpathsea/pathsearch.c +++ b/Build/source/texk/kpathsea/pathsearch.c @@ -399,7 +399,7 @@ static string * search_list P4C(const_string, path, const_string*, names, boolean, must_exist, boolean, all) { - str_list_type ret_list, uniq_list; + str_list_type ret_list; const_string* namep; string elt; boolean done = false; |