Page MenuHomeFreeBSD

Add bsearch_b to the libc map and the stdlib header.
ClosedPublic

Authored by pfg on Aug 19 2014, 7:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 19 2023, 8:13 PM
Unknown Object (File)
Nov 13 2023, 1:47 AM
Unknown Object (File)
Nov 8 2023, 12:36 AM
Unknown Object (File)
Oct 19 2023, 5:58 PM
Unknown Object (File)
Oct 9 2023, 12:45 AM
Unknown Object (File)
Oct 6 2023, 11:32 PM
Unknown Object (File)
Sep 18 2023, 7:32 PM
Unknown Object (File)
Sep 18 2023, 8:59 AM
Subscribers

Details

Reviewers
theraven
pfg
Summary

bsearch_b is the Apple blocks enabled version of bsearch(3).
This was added to libc in Revision 264042 but the commit
missed the declaration required to make use of it.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

pfg retitled this revision from to Add bsearch_b to the libc map and the stdlib header..
pfg updated this object.
pfg edited the test plan for this revision. (Show Details)
pfg added a reviewer: theraven.

Shouldn't all of these BLOCKS declarations be moved down to the main BSD_VISIBLE block, since they are non-standard interfaces?

In D638#3, @wollman wrote:

Shouldn't all of these BLOCKS declarations be moved down to the main BSD_VISIBLE block, since they are non-standard interfaces?

Yes, I think that is reasonable.

They were proposed as N1451, and have become popular but they are not standard.

  1. Updating D638: Add bsearch_b to the libc map and the stdlib header. #

As suggested by Garrett Wollman, move the block declarations
to the BSD_VISIBLE section.

pfg added a reviewer: pfg.

...
Sending include/stdlib.h
Sending lib/libc/stdlib/Symbol.map
Transmitting file data ..
Committed revision 270952.

Special Thanks to wollman for the review!

This revision is now accepted and ready to land.Sep 1 2014, 10:27 PM

This was committed (long ago) as r270952.
Thanks!