]> git.ipfire.org Git - thirdparty/systemd.git/commit
fdset: minor modernizations
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Mar 2023 08:26:56 +0000 (10:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 29 Mar 2023 17:09:10 +0000 (19:09 +0200)
commit08a0ebc6beef91c54931160b43c10cbc610f7533
tree5dc3cae699acaa2ea4516e74de25bba3c27c2162
parent5f43c97cd24b25f846d005eccd7837a2cd279230
fdset: minor modernizations

Let's use more _cleanup_ expressions. Various other modernizations. No
actual code changes, except for maybe a conversion to use heap memory
when generating an array of fds, instead of stack as before. Given that
fdstores are typically user controlled, that should be a wise idea.
src/shared/fdset.c