From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 3 18:50:12 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1F89106564A for ; Wed, 3 Nov 2010 18:50:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B07FB8FC1A for ; Wed, 3 Nov 2010 18:50:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA3IoC10051876 for ; Wed, 3 Nov 2010 18:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA3IoCg4051875; Wed, 3 Nov 2010 18:50:12 GMT (envelope-from gnats) Date: Wed, 3 Nov 2010 18:50:12 GMT Message-Id: <201011031850.oA3IoCg4051875@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jaakko Heinonen Cc: Subject: Re: misc/151861: dlclose() of library causes separately opened libraries to unload as well X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jaakko Heinonen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 18:50:12 -0000 The following reply was made to PR misc/151861; it has been noted by GNATS. From: Jaakko Heinonen To: Kostik Belousov Cc: Alexander Kabaev , Arjan van Leeuwen , bug-followup@freebsd.org, kan@freebsd.org Subject: Re: misc/151861: dlclose() of library causes separately opened libraries to unload as well Date: Wed, 3 Nov 2010 20:48:24 +0200 On 2010-11-03, Kostik Belousov wrote: > By intermediate I mean private intermediate state in my working tree. > Below is the patch augmented with the change to not call ref_dag() > from init_dag(). I prefer this one. Could you also add assert(root->dag_inited); to ref_dag() and unref_dag()? -- Jaakko