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

* 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:
akr 2013-02-27 13:55:19 +00:00
parent 3b6d093451
commit bf96ea6362
2 changed files with 6 additions and 0 deletions

View file

@ -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>
* lib/rexml/security.rb (REXML::Security): create.

View file

@ -161,6 +161,7 @@ typedef union {
struct sockaddr_un un;
#endif
struct sockaddr_storage storage;
char place_holder[2048]; /* sockaddr_storage is not enough for Unix domain sockets on SunOS and Darwin. */
} union_sockaddr;
#ifdef __APPLE__