From owner-freebsd-hackers Sat Oct 12 13:50:57 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA29939 for hackers-outgoing; Sat, 12 Oct 1996 13:50:57 -0700 (PDT) Received: from korin.warman.org.pl (korin.warman.org.pl [148.81.160.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA29934 for ; Sat, 12 Oct 1996 13:50:51 -0700 (PDT) Received: (from abial@localhost) by korin.warman.org.pl (8.7.5/8.7.3) id WAA03993; Sat, 12 Oct 1996 22:50:31 +0200 (MET DST) Date: Sat, 12 Oct 1996 22:50:30 +0200 (MET DST) From: Andrzej Bialecki To: Julian Elischer cc: hackers@FreeBSD.org Subject: Re: library needed to port s/w to Freebsd In-Reply-To: <325F176B.41C67EA6@whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 11 Oct 1996, Julian Elischer wrote: > I have a package that needs the 'search' library from sysVR2 > (and later I presume) > it looks for "search.h" > "search" used to allow one to build and search a tree of arbitrary items Same problem I had not so long ago... I assume you're after tsearch, twalk, tfind etc. (only hsearch can be found). Me too ;-) I didn't find it, and someone suggested to get one from Linux dist. But that one looks to me suspiciously - I didn't have time to analyze the code, but it assumes a certain form of input data.... too bad for me. Finally, it's not so impossibly impossible to write the code on your own. It's just stupid and it takes time - like reinventing the wheel. I have some templates handy, if you come to such despair. Andy, +-------------------------------------------------------------------------+ Andrzej Bialecki _) _) _)_) _)_)_) _) _) --------------------------------------- _)_) _) _) _) _)_) _)_) Research and Academic Network in Poland _) _)_) _)_)_)_) _) _) _) Bartycka 18, 00-716 Warsaw, Poland _) _) _) _) _)_)_) _) _) +-------------------------------------------------------------------------+