path-lookup: LookupPathsFlags are a flags type, hence define it like one
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Nov 2017 16:37:49 +0000 (17:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 29 Nov 2017 11:34:12 +0000 (12:34 +0100)
commitfbc58835235f8a7a045be2831fe0a8d11f7d7bea
tree236c8a7ddaf7fb0a2580c4bcef42419605d742fc
parente9f4aabd80e7a8551fb7c328e9a36aaf9ce131cc
path-lookup: LookupPathsFlags are a flags type, hence define it like one

We shouldn't rely on C's incremental assignment of values of enums for
bit fields. That'll work only between the first two flags, but for
everything following will break horrible. Hence, let's avoid any
ambiguity here, and let's clearly define the flags as shifts of 1.
src/shared/path-lookup.h