On Fri, 13.02.15 09:49, Maciej Wereski (m.were...@partner.samsung.com) wrote:
> Dnia środa, 11 lutego 2015 13:08:26 Lennart Poettering pisze: > > > This optimization is not valid. > > > > If 'word' is set to "sh", then l will be 2, and strneq(word, "shared", > > 2) is true, but we don't actually want to allow such abbreviations! > > > > Lennart > > True, I can use strlen("shared" ) then as a n value in strneq. Or please at > least change that: > > - else if (streq(word, "private")) > + else if (streq(t, "private")) Indeed! Fixed now in git: http://cgit.freedesktop.org/systemd/systemd/commit/?id=8d9803b83c1f72e1bf158af4615b1c53a4749118 Sorry for the delay! Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel