]> git.ipfire.org Git - thirdparty/systemd.git/commit
edit-util: several cleanups for --stdin handling
authorMike Yuan <me@yhndnzj.com>
Sun, 11 Aug 2024 13:41:07 +0000 (15:41 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 12 Aug 2024 14:23:23 +0000 (16:23 +0200)
commit40f5c372c22d2dea20c2d5155754faec9c4460cd
tree8cfe20ba1031b007e228587ab909a5458e1799d9
parent3b5b2ff8fa6413afc2e5a058ea8281a58a4c691d
edit-util: several cleanups for --stdin handling

Follow-up for 329050c5e2c7e9561699f87b5edb72edd0d54c96

I don't particularly favor the duplicated strstrip()
and such, so let's ensure if we get fixed data it's
only trimmed once. Subsequently we can benefit more
by making all copies reflinks.
src/shared/edit-util.c