]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/path: use _read_buffer for _read_string()
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 13 May 2024 08:46:31 +0000 (10:46 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 13 May 2024 10:35:48 +0000 (12:35 +0200)
commitd4fc7055ca11fad8f7664c5f28ef6c9622acb166
tree5893424436641d358ae50b56b79830eef528ecc9
parent057080b5c89fa63cece8a5d4a6da4959bd004aa1
lib/path: use _read_buffer for _read_string()

ul_path_read_buffer already provides zero-termination and newline
trimming, so make use of it.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
lib/path.c