search for: 7b4d886

Displaying 1 result from an estimated 1 matches for "7b4d886".

Did you mean: 4b4d7886
2018 Nov 02
1
I heard the patch window was open? Two small patches
...5 2017 -0800 Change path_add so that it adds new entries at the end not the beginning of the list. This fixes an issue where PATH with multiple directories listed would effectively reverse the order of the searched directories diff --git a/core/path.c b/core/path.c index 8e517ca..7b4d886 100644 --- a/core/path.c +++ b/core/path.c @@ -32,7 +32,7 @@ __export struct path_entry *path_add(const char *str) if (!entry->str) goto bail; - list_add(&entry->list, &PATH); + list_add_tail(&entry->list, &PATH); return entry; -- Philip Pokorn...