diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-20 15:20:14 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-20 15:20:14 +0000 |
commit | 4aa9e1ace0c240a99bd41b59a3df736948198480 (patch) | |
tree | d01731ee4b0c9f7a42a9ae5cf54e3e11aa90b72c /test/webrick/test_httprequest.rb | |
parent | 4c58bed876c2c3646d031a2f7e8facee8b50c2be (diff) | |
download | ruby-4aa9e1ace0c240a99bd41b59a3df736948198480.tar.gz |
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
Diffstat (limited to 'test/webrick/test_httprequest.rb')
0 files changed, 0 insertions, 0 deletions