]> git.ipfire.org Git - thirdparty/kmod.git/commit
Remove dietlibc stat::st_mtim workaround
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 24 May 2025 14:40:49 +0000 (15:40 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 30 May 2025 14:04:02 +0000 (09:04 -0500)
commit2077cb39f2beffb15b41e73095f00a17684eca12
tree21dce5bbf574702529ab8ad2d00ee3144ef5cc39
parentd33f479ba8d9c5db058b50c5594a1eb111860ce9
Remove dietlibc stat::st_mtim workaround

Some versions of dietlibc lack struct stat::st_mtim, which was
introduced with POSIX.1-2008.

Considering the slow development cycle of dietlibc (last three releases
are 2024, 2018 and 2013) and there's no popular user (nor one in CI) of
it, let's remove the workaround.

All the other runtimes that we target - glibc, bionic and musl - have
the struct member.

Iff needed we can reintroduce the workaround at a later stage alongside
a CI permutation.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/359
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
meson.build
shared/util.c