No subject
Wed Aug 6 12:28:49 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 06 Aug 2003 12:29:01 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.8p1/8.12.3) with ESMTP id h76JT1vs086636
for <atanu@tigger.icir.org>; Wed, 6 Aug 2003 12:29:01 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h76JT1dk057003
for <atanu@icir.org>; Wed, 6 Aug 2003 12:29:01 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h76JT1RW006696;
Wed, 6 Aug 2003 12:29:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h76JSnRW006687
for <xorp-cvs@icsi.berkeley.edu>; Wed, 6 Aug 2003 12:28:49 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h76JSndk056999
for <xorp-cvs@icir.org>; Wed, 6 Aug 2003 12:28:49 -0700 (PDT)
(envelope-from hodson@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h76JSnkN048059
for <xorp-cvs@icir.org>; Wed, 6 Aug 2003 12:28:49 -0700 (PDT)
(envelope-from hodson@xorpc.icir.org)
Received: (from hodson@localhost)
by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h76JSnfG048058;
Wed, 6 Aug 2003 12:28:49 -0700 (PDT)
(envelope-from hodson)
From: Orion Hodson <hodson@icir.org>
Message-Id: <200308061928.h76JSnfG048058@xorpc.icir.org>
Date: Wed, 6 Aug 2003 12:28:49 ()
To: xorp-cvs@icir.org
Reply-To: hodson@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/libxorp/ ref_ptr.cc ref_ptr.hh test_ref_ptr.cc
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Repository: xorp/libxorp/
Changes by: hodson@xorpc.icir.org. 03/08/06 12:28:49
Modified files:
xorp/libxorp/: ref_ptr.cc ref_ptr.hh test_ref_ptr.cc
Log message:
o Don't allocate a pool entry for null pointers in pointer
constructor. We explicitly check for null during unref and don't
free the blighters. [10 points jcardona who noticed there was a
problem, -945 for the idiot responsible].
o Add ref counter balance to pool class to keep track of all calls to
counter increment and decrement methods.
o Check balance is zero at end of ref_ptr test.
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs