diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-02 06:01:57 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-02 06:01:57 +0000 |
| commit | d68b60741ce0ee26f61f4bb16ca14769cd1f0988 (patch) | |
| tree | efc2fafa54648f7508910c3bdc0790c878926998 /test/ruby | |
| parent | 270f2034a71cecc3361920d5ff609bda41ecef8f (diff) | |
* ext/socket/mkconstants.rb: use hash for family_to_str to avoid
linear search. lenp argument removed.
* ext/socket/socket.c (ipaddr): call family_to_str without lenp
argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
