e8af3bfd635cf6e51ec0d0f57cd4b48715f9b0da
The function no longer returns the fd. This complicated semantics, because it wasn't clear what holds the ownership: the return value or the output parameter. There were no users of the fd in the return value, so let's simplify things conceptually and only return the fd once. Reduce the scope of variables. LOOP_CLR_FD was called on the wrong fd. Let's use a cleanup function to make this automatic and reduce chances of a mixup in the future. CID 1408498.
systemd - 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.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%
