Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libprop Update also the non-void pointers to the ...



details:   https://anonhg.NetBSD.org/src/rev/995cb9e042de
branches:  trunk
changeset: 764414:995cb9e042de
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Apr 20 20:00:07 2011 +0000

description:
Update also the non-void pointers to the current test objects.
Finaly fixes PR lib/43964.

diffstat:

 common/lib/libprop/prop_object.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9df32de09b02 -r 995cb9e042de common/lib/libprop/prop_object.c
--- a/common/lib/libprop/prop_object.c  Wed Apr 20 19:57:58 2011 +0000
+++ b/common/lib/libprop/prop_object.c  Wed Apr 20 20:00:07 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prop_object.c,v 1.26 2009/03/30 07:42:51 haad Exp $    */
+/*     $NetBSD: prop_object.c,v 1.27 2011/04/20 20:00:07 martin Exp $  */
 
 /*-
  * Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@@ -1158,6 +1158,8 @@
                if (!_prop_stack_pop(&stack, &obj1, &obj2,
                                     &stored_pointer1, &stored_pointer2))
                        return true;
+               po1 = obj1;
+               po2 = obj2;
                goto continue_subtree;
        }
        _PROP_ASSERT(ret == _PROP_OBJECT_EQUALS_RECURSE);



Home | Main Index | Thread Index | Old Index