diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-13 12:41:12 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-13 12:41:12 +0000 |
| commit | f5cf22b54f3ab0b7033843d99834aa6dadb7fe51 (patch) | |
| tree | 309b499c8376b0cc9f0dcb9a020a4efb4e034dd9 /test/ruby | |
| parent | 72294c04e6a84f5c9692297d76d3e725f59dea34 (diff) | |
| download | ruby-f5cf22b54f3ab0b7033843d99834aa6dadb7fe51.tar.gz ruby-f5cf22b54f3ab0b7033843d99834aa6dadb7fe51.tar.xz ruby-f5cf22b54f3ab0b7033843d99834aa6dadb7fe51.zip | |
* ext/socket/socket.c (rb_getaddrinfo): use getaddrinfo with GVL if
getaddrinfo.c/getnameinfo.c is used. They are not thread safe
because gethostbyname/gethostbyaddr is used.
(rb_getnameinfo): ditto.
* extconf.rb: define GETADDRINFO_EMU if getaddrinfo.c/getnameinfo.c is
used.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
