[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	moritz_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2006/04/04 05:21:50

Modified files:
	lib/libc/stdlib: tsearch.3 tsearch.c 

Log message:
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@



Visit your host, monkey.org