]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Fix ul_path_read_buffer()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 9 May 2024 10:32:31 +0000 (12:32 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 13 May 2024 08:10:31 +0000 (10:10 +0200)
commit5665b1ff86cea4e40350359121ebbcb6d226ac62
tree52516fcc9da67d37d479f92ed14db61c16ea0606
parentfaa3057dec713306a462924084e541af4a78e2fc
Fix ul_path_read_buffer()

The current implementation cuts off the last character of the buffer
if there is no trailing newline.

(cherry picked from commit 6273c12257973cbd3c59a710049ee8a8027bbbb1)
lib/path.c