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"))
regards,
--
Maciej Wereski
Samsung R&D Institute Poland
Samsung Electronics
[email protected]
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel