]> git.ipfire.org Git - thirdparty/systemd.git/commit
string-util: modernize strextendn() a bit 36343/head
authorMike Yuan <me@yhndnzj.com>
Mon, 10 Feb 2025 18:14:49 +0000 (19:14 +0100)
committerMike Yuan <me@yhndnzj.com>
Mon, 10 Feb 2025 18:39:22 +0000 (19:39 +0100)
commit63ed6115796ac59ca12e1348cbace820bab373bc
tree1ab24566b8520bcc3c0681243f70e1d29b1d4914
parent146b2ed6a661c6bd3023d06c57b04c01de35e008
string-util: modernize strextendn() a bit

l == SIZE_MAX requires no special handling, since we assert
on (s || l == 0) above.
src/basic/string-util.c
src/basic/string-util.h