[Xorp-cvs] XORP cvs commit: xorp/utils/flower_malloc

Pavlin Radoslavov pavlin@icir.org
Fri, 2 Dec 2005 00:10:20 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-12-02 00:10:20 UTC

XORP CVS repository


Modified files:
	utils/flower_malloc flower_malloc.c 

Log message:
	Use size_t arithmetics instead of uint32_t to calculate the hash value.
	This fixes a compilation problem on amd64 with FreeBSD-6.0.
	
	Note however that the test_flower_malloc test is failing with a coredump
	on amd64 inside get_backtrace():
	
	   ret_addr[2] = __builtin_return_address(3);

Revision  Changes                              Path
1.4       +7 -5;  commitid: 63a2438f90197ea6;  xorp/utils/flower_malloc/flower_malloc.c