* process.c (last_status_set): nothing returned, should be void.
* ext/socket/socket.c (load_addr_info): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c8a7361e45
commit
4b7c92fa90
@ -1,3 +1,9 @@
|
||||
Tue Jul 31 15:16:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* process.c (last_status_set): nothing returned, should be void.
|
||||
|
||||
* ext/socket/socket.c (load_addr_info): ditto.
|
||||
|
||||
Tue Jul 31 12:11:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* marshal.c (Init_marshal): new constant Marshal::MAJOR_VERSION
|
||||
|
@ -781,7 +781,7 @@ ruby_connect(fd, sockaddr, len, socks)
|
||||
}
|
||||
}
|
||||
|
||||
static VALUE
|
||||
static void
|
||||
load_addr_info(h, serv, type, res)
|
||||
VALUE h, serv;
|
||||
int type;
|
||||
@ -820,8 +820,8 @@ load_addr_info(h, serv, type, res)
|
||||
if (error) {
|
||||
rb_raise(rb_eSocket, "getaddrinfo: %s", gai_strerror(error));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static VALUE
|
||||
open_inet(class, remote_host, remote_serv, local_host, local_serv, type)
|
||||
VALUE class, remote_host, remote_serv, local_host, local_serv;
|
||||
@ -838,7 +838,7 @@ open_inet(class, remote_host, remote_serv, local_host, local_serv, type)
|
||||
*/
|
||||
|
||||
if (type != INET_SERVER && (!NIL_P(local_host) || !NIL_P(local_serv)))
|
||||
load_addr_info(local_host, local_serv, type, &res_local);
|
||||
load_addr_info(local_host, local_serv, type, &res_local);
|
||||
|
||||
fd = -1;
|
||||
for (res = res_remote; res; res = res->ai_next) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user