[Bug 216872] Behavior for hsearch_r is flip-flopped per documentation (behavior matches Linux, docs match NetBSD)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 7 15:43:31 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216872
Pedro F. Giffuni <pfg at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|pfg at FreeBSD.org |
--- Comment #2 from Pedro F. Giffuni <pfg at FreeBSD.org> ---
(In reply to Ngie Cooper from comment #0)
Some historical context as it seems to have been lost somehow:
The original implementation of hsearch(3) for FreeBSD up to 10.x release, was
indeed based on NetBSD. For the case of hsearch_r we adopted hsearch_r but the
NetBSD code never made it into a release as ed@ wrote a new implementation in
r292767.
The implementation for hcreate(3) functions should match POSIX. hsearch_r(3) is
a glibc extension.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list