chiark / gitweb /
udevadm,basic: replace nulstr_contains with STR_IN_SET (#6965)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 4 Oct 2017 17:32:12 +0000 (19:32 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 4 Oct 2017 17:32:12 +0000 (19:32 +0200)
commit7cd8f97c73ef8e5d6f6734683b4e597307a2cb7c
treefac3463f8c835f1f81d70ad95957d9e09c2830e3
parente7e739a60e74d067559bab758ba130ca2ebbace7
udevadm,basic: replace nulstr_contains with STR_IN_SET (#6965)

STR_IN_SET is a newer approach which is easier to write and read, and which
seems to result in space savings too:

before:
4949848 build/src/shared/libelogind-shared-234.so
 350704 build/systemctl
4967184 build/elogind
 826216 build/udevadm

after:
4949848 build/src/shared/libelogind-shared-234.so
 350704 build/systemctl
4966888 build/elogind
 826168 build/udevadm
src/basic/mount-util.c