mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/ruby.h: $SAFE=3 is now obsolete.
* ext/socket/init.c, ext/socket/socket.c, ext/socket/tcpsocket.c ext/socket/udpsocket.c, gc.c, object.c, re.c, safe.c: removed code for $SAFE=3 * bootstraptest/test_method.rb, test/erb/test_erb.rb, test/ruby/test_dir.rb test/ruby/test_file.rb, test/ruby/test_method.rb, test/ruby/test_regexp.rb test/ruby/test_thread.rb: remove tests for $SAFE=3 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3759dfa23e
commit
bbf440c90b
17 changed files with 23 additions and 100 deletions
|
@ -50,7 +50,6 @@ tcp_sockaddr(struct sockaddr *addr, socklen_t len)
|
|||
static VALUE
|
||||
tcp_s_gethostbyname(VALUE obj, VALUE host)
|
||||
{
|
||||
rb_secure(3);
|
||||
return rsock_make_hostent(host, rsock_addrinfo(host, Qnil, SOCK_STREAM, AI_CANONNAME),
|
||||
tcp_sockaddr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue