mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
Let's remove a function of questionnable utility. strv_clear() frees the items of a string array, but not the array itself. i.e. it half-drestructs a string array and makes it empty. This is not too useful an operation since we almost never need to just do that, we also want to free the whole thing. In fact, strv_clear() is only used in one of our .c file, and there it appears like unnecessary optimization, given that for each array with n elements it leaves the number of free()s we need to at O(n) which is not really an optimization at all (it goes from n+1 to n, that's all). Prompted by the discussions on #14605
System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Description
Languages
C
89.4%
Python
5.8%
Shell
2.1%
Meson
1.3%
HTML
0.9%
Other
0.4%