From bf96ea63623856a61d978da45a0f9b27560fe499 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 27 Feb 2013 13:55:19 +0000 Subject: * 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 --- ChangeLog | 5 +++++ ext/socket/rubysocket.h | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3f22b12f04..1a512ad30c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Feb 27 22:54:27 2013 Tanaka Akira + + * ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS + and Darwin. + Wed Feb 27 21:14:34 2013 Kouhei Sutou * lib/rexml/security.rb (REXML::Security): create. diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h index d06516f15a..10aa630602 100644 --- a/ext/socket/rubysocket.h +++ b/ext/socket/rubysocket.h @@ -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__ -- cgit v1.2.3