Date: Tue, 4 Jul 2000 17:05:13 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: "Jacques A. Vidrine" <n@nectar.com> Cc: Alfred Perlstein <alfred@freebsd.org>, arch@freebsd.org, peter@freebsd.org Subject: Re: cvs commit: src/include search.h Makefile src/lib/libc/stdlib tdelete.c tfind.c tsearch.3 tsearch.c twalk.c Makefile.inc Message-ID: <Pine.BSF.4.21.0007041658280.15757-100000@besplex.bde.org> In-Reply-To: <20000701140842.A97167@bone.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 1 Jul 2000, Jacques A. Vidrine wrote: > [btw, SUSv2 can be found at http://www.opengroup.com, among other > things] > > On Sat, Jul 01, 2000 at 10:19:19AM -0700, Alfred Perlstein wrote: > > part 2) > > repo copy the files insque.3 insque.c lsearch.3 lsearch.c and remque.c > > from src/lib/libcompat/4.3/ into src/lib/libc/stdlib and fixup the > > Makefiles. > > SUSv2 says: > insque, remque --- stdlib.h These were deprecated long ago. From our old man page: DESCRIPTION The insque and remque functions are considered obsolete. They are available from the compatibility library, libcompat. > > part 4) > > remove bsearch from search.h (it's already in stdlib.h) > > SUSv2 says: > bsearch --- stdlib.h > > And as previously stated, tsearch goes in <search.h>. > > This seems dumb. I would expect [bhlt]search, at least, to all be in > <search.h>... bsearch seems to be odd man out. bsearch is in the ISO Standard C library, so it actually belongs in <stdlib.h>. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007041658280.15757-100000>