🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #329

Re: tsearch(3) and tfind return incorrect pointers

#329
From: Doug Gwyn
Date: Thu, 24 Jan 1991 01:14
12 lines
1112 bytes
In article <888@amix.commodore.com> ford@amix.commodore.com (Mike "Ford" Ditto) writes:
>I had an occation to use the SysV tree manipulation routines in libc
>(tsearch(3)) for the first time today, and discovered that they don't
>work.

Actually, they DO work, but the interface documentation is botched
beyond belief, and when it was reworked for SVID 3 (and SVR4), the
types were gotten utterly wrong.  Consequently I avoid the library
versions and use my own implementation with proper types, etc.

Some time ago, Gary Moss <Moss@BRL.MIL> published his implementation
of these functions; you might contact him for a copy.
Technical Details
Message-ID: <14963@smoke.brl.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!hsdndev!cmcl2!adm!smoke!gwyn
References: <888@amix.commodore.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!hsdndev!cmcl2!adm!smoke!gwyn
From: gwyn@smoke.brl.mil (Doug Gwyn)
Newsgroups: comp.bugs.sys5
Subject: Re: tsearch(3) and tfind return incorrect pointers
Keywords: tsearch(3)
Message-ID: <14963@smoke.brl.mil>
Date: 24 Jan 91 01:14:41 GMT
References: <888@amix.commodore.com>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 12