The following reply was made to PR misc/151861; it has been noted by GNATS.
From: Kostik Belousov <kostik...@gmail.com> To: Jaakko Heinonen <j...@freebsd.org> Cc: Arjan van Leeuwen <freebsd-maintai...@opera.com>, bug-follo...@freebsd.org, k...@freebsd.org Subject: Re: misc/151861: dlclose() of library causes separately opened libraries to unload as well Date: Wed, 3 Nov 2010 18:20:30 +0200 --dPNPvpIcGJA2vEEo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 03, 2010 at 06:12:05PM +0200, Jaakko Heinonen wrote: > On 2010-11-03, Kostik Belousov wrote: > > > If you are going to take this approach, why not remove init_dag() alt= ogether > > > and make ref_dag() to initialize the dag when necessary? > > I like the explicit notion that ref_dag() does not initialize the DAG. > > We may add some assertion about state of the DAG there. >=20 > OK. I don't like that init_dag() is used to increase reference count for > already initialized DAGs but feel free to do whatever you think is > best. I do not like it too, but this is the current interface of init_dag(). Intermediate version of the latest patch removed the ref_dag() part from init_dag(). Would you prefer this ? --dPNPvpIcGJA2vEEo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAkzRi84ACgkQC3+MBN1Mb4hTZQCg4gA9uxOWYQ1Znwk2dqIWXHXf UIwAn1fpTWW+N0nz7mawenn4o400FXCw =Hi4N -----END PGP SIGNATURE----- --dPNPvpIcGJA2vEEo-- _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"