At search, use the prefix parameter as a prefix
authorJonathan Aillet <jonathan.aillet@iot.bzh>
Mon, 2 Jul 2018 17:50:12 +0000 (19:50 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 13 Dec 2018 13:12:02 +0000 (14:12 +0100)
commite1936c3919ea56307cbdb60ccbd15cd0dcf80ba7
tree5a3bb3cd37ede653b83b4ac19e76ee6e3d8ae53b
parentec2a978278b4b521e665e1f8c589a4b1f70fc889
At search, use the prefix parameter as a prefix

Be sure that prefix parameter is used as a prefix when searching for
configuration files (when using 'ScanForConfig' function).
Before this change, the function was only checking that the
prefix parameter was present in the file name (but not necessarily
at the beginning of the file name).

Bug-AGL:SPEC-1239

Change-Id: I9986cce5fab0fd5cd6d3049731f4c5883056a5f4
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
filescan-utils.c