* ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS
and Darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3b6d093451
commit
bf96ea6362
@ -1,3 +1,8 @@
|
|||||||
|
Wed Feb 27 22:54:27 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS
|
||||||
|
and Darwin.
|
||||||
|
|
||||||
Wed Feb 27 21:14:34 2013 Kouhei Sutou <kou@cozmixng.org>
|
Wed Feb 27 21:14:34 2013 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
* lib/rexml/security.rb (REXML::Security): create.
|
* lib/rexml/security.rb (REXML::Security): create.
|
||||||
|
@ -161,6 +161,7 @@ typedef union {
|
|||||||
struct sockaddr_un un;
|
struct sockaddr_un un;
|
||||||
#endif
|
#endif
|
||||||
struct sockaddr_storage storage;
|
struct sockaddr_storage storage;
|
||||||
|
char place_holder[2048]; /* sockaddr_storage is not enough for Unix domain sockets on SunOS and Darwin. */
|
||||||
} union_sockaddr;
|
} union_sockaddr;
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user