]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/fstab-util: immediately drop empty options again
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Mar 2021 12:35:26 +0000 (13:35 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Mar 2021 08:19:54 +0000 (09:19 +0100)
commit5fa2da125157a1beca508792ee5d9be833c2c0cb
treea0f2c7c340f5e12430140e9921f005ef637ca5f0
parent924f65030529d5a232c2be4ab6e2642dfdc2ea71
shared/fstab-util: immediately drop empty options again

In the conversion from strv_split() to strv_split_full() done in
7bb553bb98a57b4e03804f8192bdc5a534325582, EXTRACT_DONT_COALESCE_SEPARATORS was
added. I think this was just by mistake… We never look for "empty options", so
whether we immediately ignore the extra separator or store the empty string in
strv, should make no difference.
src/shared/fstab-util.c
src/test/test-fstab-util.c