1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/dl
naruse 4aa9e1ace0 Add test for r32586.
FreeBSD (at least 7.2 to 7.2) calls nsdispatch(3) when it calls
getaddrinfo(3). And nsdispatch(3) doesn't call dlerror(3) even if
it calls _nss_cache_cycle_prevention_function with dlsym(3).
So our DL::Handle#sym must call dlerror(3) before call dlsym.
In general uses of dlerror(3) should call it before use it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-20 15:20:14 +00:00
..
test_base.rb * test/dl/test_base.rb (DL::LIBC_SO): its always msvc*.dll on 2011-04-28 06:34:01 +00:00
test_callback.rb
test_cfunc.rb
test_cparser.rb
test_cptr.rb
test_dl2.rb
test_func.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_handle.rb Add test for r32586. 2011-07-20 15:20:14 +00:00
test_import.rb
test_win32.rb