diff options
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/db.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 0bf640eb329..1acc00dd981 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,8 @@ +2017-11-09 Karl Berry <karl@freefriends.org> + + * db.c (kpathsea_db_search_list): remove redundant test of `found'. + From Doug McKenna, personal mail, 7nov17. + 2017-11-03 Karl Berry <karl@freefriends.org> * default.h: document that NULL or empty input path returns the diff --git a/Build/source/texk/kpathsea/db.c b/Build/source/texk/kpathsea/db.c index 8102b94e34a..16d4941d81e 100644 --- a/Build/source/texk/kpathsea/db.c +++ b/Build/source/texk/kpathsea/db.c @@ -772,7 +772,7 @@ kpathsea_db_search_list (kpathsea kpse, string* names, /* If we have a real file, add it to the list, maybe done. */ if (found) { str_list_add (ret, found); - if (!all && found) + if (!all) done = true; } } else { /* no match in the db */ |