From e1c29a3f13a8d5ca0f9a4e491a752c73aca1d721 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 16 Feb 2001 07:53:21 +0000 Subject: * io.c (set_outfile): f should be the FILE* from the assigning value. * ext/socket/socket.c (tcp_s_open): should not give default value to local_host. * time.c (time_s_times): move to Process::times. * file.c (rb_file_s_lchmod): new method File::lchmod. * file.c (rb_file_s_lchown): new method File::lchown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/socket.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/socket') diff --git a/ext/socket/socket.c b/ext/socket/socket.c index a2bf61009b..1e3611394d 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -895,16 +895,11 @@ tcp_s_open(argc, argv, class) &local_host, &local_serv); Check_SafeStr(remote_host); - if (!NIL_P(local_host)) { Check_SafeStr(local_host); } - if (NIL_P(local_serv)) { - local_serv = INT2NUM(0); - } - return open_inet(class, remote_host, remote_serv, local_host, local_serv, INET_CLIENT); } -- cgit v1.2.3