]> git.ipfire.org Git - thirdparty/kea.git/commit
[5134] Proposed patch to prevent static initialization fiasco.
authorMarcin Siodelski <marcin@isc.org>
Fri, 24 Feb 2017 15:42:11 +0000 (16:42 +0100)
committerMarcin Siodelski <marcin@isc.org>
Fri, 24 Feb 2017 15:42:11 +0000 (16:42 +0100)
commit97ac3e79bfc47592321bca93ec15cd96c63b3ccf
treea1b1391d274dfd8697b5fc06b69096d69f56ec78
parent0852eacf87796827ccc96c063a420d880c28abf1
[5134] Proposed patch to prevent static initialization fiasco.

On FreeBSD11 system the Control Agent unit tests fail because the
destructor of the LibraryManager is referencing ServerHooks. Both
are static and in this particular case the LibraryManager outlives
the other one.
src/lib/hooks/library_manager.cc
src/lib/hooks/library_manager.h
src/lib/hooks/server_hooks.cc
src/lib/hooks/server_hooks.h