[Bug 224016] [exp-run] Removal of basename_r()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 8 22:07:03 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224016

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ed
Date: Fri Dec  8 22:06:18 UTC 2017
New revision: 326719
URL: https://svnweb.freebsd.org/changeset/base/326719

Log:
  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

Changes:
  head/ObsoleteFiles.inc
  head/include/libgen.h
  head/lib/libc/gen/Makefile.inc
  head/lib/libc/gen/Symbol.map
  head/lib/libc/gen/basename_compat.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list