| Summary: | search.h is missing | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Tony Finch <dot> |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 3.3-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Tony Finch
1999-11-17 20:10:00 UTC
On Wed, 17 Nov 1999 19:59:29 GMT, Tony Finch wrote:
> FreeBSD is missing the <search.h> header from SVID, but it is present
> in NetBSD and OpenBSD. They also have implementations of the tsearch
> etc. routines originally obtained from public domain sources by ESR.
> There is an hsearch compatible interface to Berkeley DB which is
> already in FreeBSD's libc.
So is it a simple case of importing the header file, or are there
interfaces missing in the API?
Ciao,
Sheldon.
Sheldon Hearn <sheldonh@uunet.co.za> wrote: > On Wed, 17 Nov 1999 19:59:29 GMT, Tony Finch wrote: > > > FreeBSD is missing the <search.h> header from SVID, but it is present > > in NetBSD and OpenBSD. They also have implementations of the tsearch > > etc. routines originally obtained from public domain sources by ESR. > > There is an hsearch compatible interface to Berkeley DB which is > > already in FreeBSD's libc. > > So is it a simple case of importing the header file, or are there > interfaces missing in the API? You also need the tsearch.[c3] and tfind.c files from src/lib/libc/stdlib in {Net,Open}BSD. There might be a better alternative to using Berkeley DB for the hsearch functions, but I couldn't find any other suitable existing code out there. Tony. -- I'm the dot in dot at The API is now available in -CURRENT so this PR can be closed. Tony. -- en oeccget g mtcaa f.a.n.finch v spdlkishrhtewe y dot@dotat.at eatp o v eiti i d. fanf@covalent.net State Changed From-To: open->closed Closed at submitter's request. |