core: rework logic to drop duplicate and non-existing items from search path
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Feb 2016 01:32:19 +0000 (02:32 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Apr 2016 11:43:30 +0000 (13:43 +0200)
commita14533430498bfaa91ba19b7fd0268bd2ef7d797
treee68d2113d18cdfaa3bcfdf4a0289b0dd1108cfd8
parentcd64fd56134ef00cce0651e741d4ebda3791d97b
core: rework logic to drop duplicate and non-existing items from search path

Move this into a function of its own, so that we can run it after we ran the
generators, so that it takes into account removed generator dirs.
src/core/manager.c
src/shared/path-lookup.c
src/shared/path-lookup.h
src/test/test-path-lookup.c