1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* stable/ext/socket/socket.c (NI_MAXHOST, NI_MAXSERV): fixed invalid

preprocessor directives.  a patch from Peter Bowen at
  [ruby-core:18211].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-08-09 04:35:13 +00:00
parent 1727355a22
commit 750cb61e65
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Sat Aug 9 13:35:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* stable/ext/socket/socket.c (NI_MAXHOST, NI_MAXSERV): fixed invalid
preprocessor directives. a patch from Peter Bowen at
[ruby-core:18211].
Sat Aug 9 06:37:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* enc/make_encdb.rb, enc/trans/make_transdb.rb: skip nonexistent

View file

@ -920,10 +920,10 @@ port_str(VALUE port, char *pbuf, size_t len)
}
#ifndef NI_MAXHOST
# define 1025
# define NI_MAXHOST 1025
#endif
#ifndef NI_MAXSERV
# define 32
# define NI_MAXSERV 32
#endif
static struct addrinfo*