History log of /openbsd/lib/libc/stdlib/tsearch.c (Results 1 – 10 of 10)
Revision Date Author Comments
# 89cd0876 26-Sep-2015 guenther <guenther@openbsd.org>

lint is dead: delete useless LINTLIBRARY comments

ok millert@


# fa713987 20-Aug-2015 deraadt <deraadt@openbsd.org>

All these files include <stdlib.h>, so do not need to cast
malloc/calloc/realloc* returns.


# acf82b0a 16-Mar-2014 guenther <guenther@openbsd.org>

lint is dead (long live the lint!), so stop using it as a cpp conditional
(namespace pollution!) or talking about its opinion on code.

ok krw@


# d8bc65b2 06-Feb-2012 guenther <guenther@openbsd.org>

Revert previous diff as it resulted in the wrong return code when
the last node is deleted. Instead, resolve the Coverity warning
by returning (node *)1 when you delete the root node.

based an idea

Revert previous diff as it resulted in the wrong return code when
the last node is deleted. Instead, resolve the Coverity warning
by returning (node *)1 when you delete the root node.

based an idea from millert@. ok otto@

show more ...


# 2e6f60c1 04-Apr-2006 moritz <moritz@openbsd.org>

When tdelete() is used to delete the root node, don't return a
pointer to the freed root node, but return a pointer to the new
root node. POSIX does not define, what should be returned in
that case.

When tdelete() is used to delete the root node, don't return a
pointer to the freed root node, but return a pointer to the new
root node. POSIX does not define, what should be returned in
that case.

Fixes Coverity CID 2528.

ok millert@ otto@

show more ...


# d8bc04e4 30-Mar-2005 pat <pat@openbsd.org>

ansi + de-register

ok otto deraadt


# 48f0b646 01-Oct-2004 jsg <jsg@openbsd.org>

add some missing $, ok djm@ 'That looks fine to me' millert@


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 581b1b82 01-Jul-1997 millert <millert@openbsd.org>

Include <stdlib.h> for malloc() proto.


# e728c442 13-Jun-1997 deraadt <deraadt@openbsd.org>

PD tsearch as reqd by xpg; by esr