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)
Mon, Dec 2, 1:47 AM
Unknown Object (File)
Mon, Dec 2, 1:01 AM
Unknown Object (File)
Tue, Nov 26, 5:19 PM
Unknown Object (File)
Mon, Nov 18, 10:55 PM
Unknown Object (File)
Nov 6 2024, 8:33 PM
Unknown Object (File)
Oct 31 2024, 1:03 AM
Unknown Object (File)
Oct 16 2024, 7:19 AM
Unknown Object (File)
Oct 11 2024, 9:20 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!