[systemd-devel] [systemd-commits] src/libsystemd
Lennart Poettering
lennart at poettering.net
Wed Oct 8 12:21:56 PDT 2014
On Wed, 08.10.14 08:30, Daniel Mack (zonque at kemper.freedesktop.org) wrote:
>
> - /* The higher 32bit of the flags field are considered
> - * 'incompatible flags'. Refuse them all for now. */
> - if (make->flags > 0xFFFFFFFFULL) {
> + /* The features field are considered 'incompatible flags'.
> + * Refuse them all for now. */
> + if (make->features) {
> safe_close(fd);
> return -ENOTSUP;
This appears the wrong way around, we discussed in Berlin yesterday
that "features" should be the compatible bitmask, and "flags" should
be the incompatible one.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list