namespace: ignore prefix chars when comparing paths
authorTopi Miettinen <toiwoton@gmail.com>
Tue, 10 Mar 2020 14:43:10 +0000 (16:43 +0200)
committerTopi Miettinen <toiwoton@gmail.com>
Tue, 10 Mar 2020 14:48:34 +0000 (16:48 +0200)
commitde46b2be07538b55df0ba5e312a89eebb87c710a
tree27006d17373b9b7fefc7d2fec3f44e68220aa8e0
parent3b5b6826aa864f49cce8f5869328ab440541f6ac
namespace: ignore prefix chars when comparing paths

Other callers of path_strv_contains() or PATH_IN_SET() don't seem to handle
paths prefixed with -+.
src/basic/path-util.c
src/basic/path-util.h
src/core/namespace.c