зеркало из https://github.com/github/ruby.git
* ext/socket/unixsocket.c: redandant #ifdef removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
464efd977f
Коммит
55bf8fa11c
|
@ -1,3 +1,7 @@
|
|||
Sun Jan 18 14:29:52 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/unixsocket.c: redandant #ifdef removed.
|
||||
|
||||
Sun Jan 18 03:33:23 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/raddrinfo.c (addrinfo_mdump): don't use symbol.
|
||||
|
|
|
@ -75,9 +75,7 @@ init_unixsock(VALUE sock, VALUE path, int server)
|
|||
|
||||
return sock;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_UN_H
|
||||
/*
|
||||
* call-seq:
|
||||
* UNIXSocket.new(path) => unixsocket
|
||||
|
@ -441,9 +439,7 @@ unix_peeraddr(VALUE sock)
|
|||
rb_sys_fail("getpeername(2)");
|
||||
return unixaddr(&addr, len);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_UN_H
|
||||
/*
|
||||
* call-seq:
|
||||
* UNIXSocket.pair([type [, protocol]]) => [unixsocket1, unixsocket2]
|
||||
|
|
Загрузка…
Ссылка в новой задаче