]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: remove one more use of basename()
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Dec 2022 15:46:28 +0000 (16:46 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Dec 2022 14:04:19 +0000 (15:04 +0100)
commit83802e9abdffdf9b55030c49afc86dc13bd7e54c
treeca9efced4c7e46c5347249ee62af0c85e048c454
parenta99626c11a2a54a76104a8ee9d9c472296383d56
dissect: remove one more use of basename()

And while we are at it, make use of path_extract_filename() return value
that indicates whether the path was suffixed with a slash.
src/dissect/dissect.c