зеркало из https://github.com/github/ruby.git
* 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:
Родитель
1727355a22
Коммит
750cb61e65
|
@ -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
|
||||
|
|
|
@ -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*
|
||||
|
|
Загрузка…
Ссылка в новой задаче