]> git.ipfire.org Git - thirdparty/bind9.git/commit
dont run isc__trampoline_initialize() in dlopen library
authorEvan Hunt <each@isc.org>
Sun, 15 May 2022 07:23:26 +0000 (00:23 -0700)
committerEvan Hunt <each@isc.org>
Sun, 15 May 2022 07:25:32 +0000 (00:25 -0700)
commitadeddfa8ff4e7116a700e4b20026d3b4326c7555
tree9720edf902da0db54a690b56a5b4756b78df7e5e
parent7a1ae6255ad2b8373dcc61b7183b34479bd0842a
dont run isc__trampoline_initialize() in dlopen library

when built without libtool, the sample driver in the dyndb
system test runs library intializers that have already been
run, causing the value for isc__trampoline_min to be reset.
wrap the trampoline initialize and shutdown routines under
isc_once_do() to ensure that they are only run once.
lib/isc/trampoline.c