]> git.cworth.org Git - fips/commit
dlwrap: Fix dlwrap_real_dlopen to only perform dlsym-lookup once
authorCarl Worth <cworth@cworth.org>
Thu, 30 May 2013 19:55:26 +0000 (12:55 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 30 May 2013 20:09:58 +0000 (13:09 -0700)
commitad04f4e5a300b08cd7356d15725d84d34f152a07
treedfc9595d3f68cf38198d9535055d6d46c1d3cb5e
parent499af6e2043af80750f5b2a2866ebb430e085851
dlwrap: Fix dlwrap_real_dlopen to only perform dlsym-lookup once

Making the real_dlopen variable static means that we perform the dlysm
lookup only once and then re-use the result for later calls. This is
what was always intended for this code.
dlwrap.c