]> git.ipfire.org Git - thirdparty/kmod.git/commit
tmpfile-util: Drop libgen.h
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 3 Apr 2025 04:39:17 +0000 (23:39 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sun, 6 Apr 2025 02:24:33 +0000 (21:24 -0500)
commitec9ccdadf07675b2ae6b65e92d810ba0e6bfdad9
tree502f188e0e49cae9d86aa8ad2e1dd473b3cdee22
parentaae48bc9f73a1bce726871027f73cbc0543c65d4
tmpfile-util: Drop libgen.h

We don't want the version of basename() that may leak memory - we want
the sane one. I remembered to add the missing.h while editing commit
aae48bc9f73a ("depmod: add tmpfile-util to generate temporary file") to
merge it, but completely forgot to remove the libgen.h. Fix it now.

Fixes: aae48bc9f73a ("depmod: add tmpfile-util to generate temporary file")
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/335
shared/tmpfile-util.c