]> git.ipfire.org Git - thirdparty/systemd.git/commit
dirent-util: get rid of stat_mode_to_dirent_type()
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Oct 2021 20:23:35 +0000 (22:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Oct 2021 21:13:03 +0000 (23:13 +0200)
commitba24ef86e7e3a8b9b3b03108c097142e503e1fd6
treefc1b232d7b9df498947cede9f5c9742b232715c3
parentd888ef68d11de94c975d3418d600a11e516efdc6
dirent-util: get rid of stat_mode_to_dirent_type()

Apparently glibc already has a helper for this. (Not in the man pages
for Linux, but FreeBSD does document these cryptic helpers, and its
exported by glibc. That should be good enough for us.)
src/basic/dirent-util.c
src/basic/dirent-util.h
src/basic/recurse-dir.c