]> git.ipfire.org Git - thirdparty/systemd.git/commit
user-util: remove unsed NOLEGACY define 11450/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 15 Jan 2019 16:15:48 +0000 (17:15 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Jan 2019 17:14:50 +0000 (18:14 +0100)
commit4919fe1352581a793d4817c06d0a9005fbbcc526
tree162f0f21dbdd3fd1423af6267bc94e84dfa94386
parenta2cadef9cc85771585392e4370c752894664e9b2
user-util: remove unsed NOLEGACY define

AFAICT, it was never hooked up to meson, so it'd only work if somebody manually
defined the flag. I think it's preferable to drop the ifdef: it removes only a
single access call to a fixed location, which is realy cheap. If poeple don't
want to make use of this, they should just not create the file. Making this
both compile-time optional and opt-in in the filesystem is unnecessary.
src/basic/user-util.c