From owner-freebsd-bugs Thu Nov 18 3:30: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7846C15391 for ; Thu, 18 Nov 1999 03:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA21264; Thu, 18 Nov 1999 03:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 18 Nov 1999 03:30:02 -0800 (PST) Message-Id: <199911181130.DAA21264@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Tony Finch Subject: Re: bin/14954: search.h is missing Reply-To: Tony Finch Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/14954; it has been noted by GNATS. From: Tony Finch To: Sheldon Hearn Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/14954: search.h is missing Date: Thu, 18 Nov 1999 11:26:19 +0000 Sheldon Hearn wrote: > On Wed, 17 Nov 1999 19:59:29 GMT, Tony Finch wrote: > > > FreeBSD is missing the 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message