* ext/socket/socket.c: should not undef close on win32.
it's defined to rb_w32_close, otherwise handle leaks. [ruby-Bugs-2131] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
97122bdb61
commit
a41331918f
@ -1,3 +1,9 @@
|
||||
Wed Jul 20 03:12:21 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* ext/socket/socket.c: should not undef close on win32.
|
||||
it's defined to rb_w32_close, otherwise handle leaks.
|
||||
[ruby-Bugs-2131]
|
||||
|
||||
Tue Jul 19 22:47:29 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* error.c (syserr_initialize): add 1 byte for snprintf() size for
|
||||
|
@ -193,11 +193,6 @@ ruby_getaddrinfo__aix(nodename, servname, hints, res)
|
||||
#define getaddrinfo(node,serv,hints,res) ruby_getaddrinfo__aix((node),(serv),(hints),(res))
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CLOSESOCKET
|
||||
#undef close
|
||||
#define close closesocket
|
||||
#endif
|
||||
|
||||
static VALUE
|
||||
init_sock(sock, fd)
|
||||
VALUE sock;
|
||||
|
Loading…
x
Reference in New Issue
Block a user