]> git.ipfire.org Git - thirdparty/systemd.git/commit
cpu-set-util: Accept commas as separators in parse_cpu_set_and_warn
authorFilipe Brandenburger <filbranden@google.com>
Fri, 25 Sep 2015 11:45:22 +0000 (04:45 -0700)
committerFilipe Brandenburger <filbranden@google.com>
Wed, 28 Oct 2015 00:39:58 +0000 (17:39 -0700)
commit4fc66acb93d6f0002263e2dfaefa46e272ae0c9c
tree2abd6cf5439be33c6047616ab4948ce3f1b507d9
parentdc1e811ebd80d1659d1476c4ae733d212d6aa946
cpu-set-util: Accept commas as separators in parse_cpu_set_and_warn

Tested CPUAffinity settings on both a service unit and in system.conf
and confirmed they work as expected.

Added a new test to confirm that trailing commas and spaces work and to
prevent any regressions in that area.
src/basic/cpu-set-util.c
src/test/test-util.c