tree-wide: use path_startswith() rather than startswith() where ever that's appropriate
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2017 17:03:39 +0000 (19:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2017 17:03:39 +0000 (19:03 +0200)
commit27458ed62945be0f022ff69348a913793337108d
treea57113e7a1e7eace6b5d539679993706a4d4700c
parenta119ec7c824da4a618cb3f4c6e3557c38381b674
tree-wide: use path_startswith() rather than startswith() where ever that's appropriate

When checking path prefixes we really should use the right APIs, just in
case people add multiple slashes to their paths...
src/basic/terminal-util.c
src/core/cgroup.c
src/core/dbus-cgroup.c
src/login/logind-utmp.c
src/sysctl/sysctl.c
src/udev/udevadm-test-builtin.c
src/udev/udevadm-util.c