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/dl/test_callback.rb: fixing valgrind errors. Ruby string may be 2010-05-09 01:57:54 +00:00
test_cfunc.rb * test/dl/test_cfunc.rb: test for r28156 2010-06-04 02:24:32 +00:00
test_cparser.rb * ext/dl/lib/dl/cparser.rb (parse_ctype): add backwards compatibility 2010-06-02 16:02:48 +00:00
test_cptr.rb
test_dl2.rb * test/dl/test_dl2.rb (TestDL#test_sin): math functions do not 2011-01-30 07:15:23 +00:00
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 forgot to commit the assert_match() 2010-07-05 23:39:51 +00:00
test_win32.rb