Subject: CVS commit: src/common
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 08/30/2007 12:23:55
Module Name:	src
Committed By:	joerg
Date:		Thu Aug 30 12:23:55 UTC 2007

Modified Files:
	src/common/include/prop: prop_object.h
	src/common/lib/libprop: prop_array.c prop_bool.c prop_data.c
	    prop_dictionary.c prop_number.c prop_object.c prop_object_impl.h
	    prop_stack.c prop_stack.h prop_string.c

Log Message:
Avoid using unbound amount of stack frames in prop_object_equal
by using a dynamic stack as well. Reorder arguments for the internalizer
as the iteration is always present and should go before possibly
NULL arguments.

Reviewed by mjf@ and adrianp@


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/common/include/prop/prop_object.h
cvs rdiff -r1.10 -r1.11 src/common/lib/libprop/prop_array.c
cvs rdiff -r1.11 -r1.12 src/common/lib/libprop/prop_bool.c
cvs rdiff -r1.8 -r1.9 src/common/lib/libprop/prop_data.c \
    src/common/lib/libprop/prop_string.c
cvs rdiff -r1.19 -r1.20 src/common/lib/libprop/prop_dictionary.c
cvs rdiff -r1.13 -r1.14 src/common/lib/libprop/prop_number.c
cvs rdiff -r1.15 -r1.16 src/common/lib/libprop/prop_object.c
cvs rdiff -r1.17 -r1.18 src/common/lib/libprop/prop_object_impl.h
cvs rdiff -r1.1 -r1.2 src/common/lib/libprop/prop_stack.c \
    src/common/lib/libprop/prop_stack.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.