check for invalid handles in dlsym/dlclose
authorRich Felker <dalias@aerifal.cx>
Thu, 10 Jan 2013 19:05:40 +0000 (14:05 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 10 Jan 2013 19:05:40 +0000 (14:05 -0500)
commit6468fc9e37fd7a12c1406c03aa7c6b5e869d799b
treedd7885a437cb62d3bc8abb3ae1b4b999476f9b58
parentd84923d89e4fe46877334cbaa5e4549f2c4cb8a6
check for invalid handles in dlsym/dlclose

this is wasteful and useless from a standpoint of sane programs, but
it is required by the standard, and the current requirements were
upheld with the closure of Austin Group issue #639:
http://austingroupbugs.net/view.php?id=639
src/ldso/dynlink.c