]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/unit-name: use strdup_to() in slice_build_parent_slice()
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 19 Mar 2024 22:35:32 +0000 (23:35 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2024 14:18:21 +0000 (15:18 +0100)
commit196166dbb1e65a4d942170cb3856cb7e6d28c6d0
treeae28d5f52887e27fb23cacb4095993d2e684b157
parent32baca00230a3b9592e7d67e0eee34a04f7b4dcc
basic/unit-name: use strdup_to() in slice_build_parent_slice()

The handling of the buffer is not obvious, so add a comment.
src/basic/unit-name.c