Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 12:12:57 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        audit@FreeBSD.org, freebsd-standards@bostonradio.org
Subject:   Re: Please review: new implementation of hsearch(3)
Message-ID:  <20010514121257.Q18676@fw.wintelcom.net>
In-Reply-To: <20010511143904.A58159@sunbay.com>; from ru@FreeBSD.org on Fri, May 11, 2001 at 02:39:05PM %2B0300
References:  <20010511143904.A58159@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ruslan Ermilov <ru@FreeBSD.org> [010514 12:10] wrote:
> Hi!
> 
> Our current hsearch(3) implementation is buggy in many ways.
> The most limiting factor is that it can only handle char *
> item.data despite the type was recently changed to void *.
> (See example in the manpage.)
> 
> The attached patch merely merges NetBSD re-implementation of
> the hsearch(3), which is POSIX.1-200x conformant.

Nice, it'd be sorta cool if we offered expanded versions that
allowed for more than one hash table at a time.

-Alfred

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010514121257.Q18676>