]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove basename_r(3).
authored <ed@FreeBSD.org>
Fri, 8 Dec 2017 22:06:18 +0000 (22:06 +0000)
committered <ed@FreeBSD.org>
Fri, 8 Dec 2017 22:06:18 +0000 (22:06 +0000)
commit32e7b7bca76521ed3b75f99b62681614598fe247
tree4ec028dab4df00c24a70034fcd55e4258c69578e
parenteeb73e02ca494538099827a5928c4d0a02e5c203
Remove basename_r(3).

Now that the POSIX working group is going to require that basename(3)
and dirname(3) are thread-safe in future revisions of the standard,
there is even less of a need to provide basename_r(3). Remove this
function to prevent people from writing code that only builds on
FreeBSD and Bionic.

Removing this function seems to break exactly one port: sbruno@'s
qemu-user-static. I will send him a pull request on GitHub in a bit.
__FreeBSD_version will not be bumped, as any value from 2017 can be used
to test for the presence of a thread-safe basename(3)/dirname(3).

PR: https://bugs.freebsd.org/224016
ObsoleteFiles.inc
include/libgen.h
lib/libc/gen/Makefile.inc
lib/libc/gen/Symbol.map
lib/libc/gen/basename_compat.c