]> git.ipfire.org Git - thirdparty/systemd.git/commit
edit-util: several cleanups for run_editor 26303/head
authorMike Yuan <me@yhndnzj.com>
Sat, 25 Feb 2023 18:09:24 +0000 (02:09 +0800)
committerMike Yuan <me@yhndnzj.com>
Fri, 10 Mar 2023 18:02:51 +0000 (02:02 +0800)
commitf8970df54b7a28a20572a7e32372791e9169c163
tree4599fc8cb0c1c582c4d20e7977be112a9856ef04
parent90c462bdd180496d0b0254a0bd580cdcafbcb1b9
edit-util: several cleanups for run_editor

run_editor is now switched to heap allocation
for simplicity. The code for child is made into
an individual function for simpler error handling.
src/shared/edit-util.c