diff options
-rw-r--r-- | ChangeLog-99b | 6 | ||||
-rw-r--r-- | THANKS | 2 | ||||
-rw-r--r-- | ace/Pipe.cpp | 5 |
3 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b index 3dd4fa9bee6..b41f394ea36 100644 --- a/ChangeLog-99b +++ b/ChangeLog-99b @@ -1,3 +1,9 @@ +Sat Sep 11 12:18:22 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/Pipe.cpp: Make sure to use SOCK_STREAM rather than SOCK_DGRAM + when creating a socketpair. Thanks to Dave Madden for reporting + this. + Mon Sep 13 13:31:23 1999 Luther J Baker <ljb1@cs.wustl.edu> * ace/Arg_Shifter.cpp (get_the_parameter): continued -ORB parsing @@ -189,7 +189,7 @@ Eric Parker <eparker@credence.com> James Michael Dwyer <jdwyer@knox.edu> Arun Katkere <katkere@praja.com> Bob Dunmire <bobd@titan.com> -Sandro Doro <alex@aureus.sublink.org> +Sandro Doro <doro.s@flashnet.it> Robert Lyng <rlyng@synertech.highmark.com> Phil Logan <phill@in.ot.com.au> John Cosby <John.D.Cosby@cpmx.saic.com> diff --git a/ace/Pipe.cpp b/ace/Pipe.cpp index 923aa9b9fe6..4bf5eb1098d 100644 --- a/ace/Pipe.cpp +++ b/ace/Pipe.cpp @@ -115,7 +115,7 @@ ACE_Pipe::open (int buffer_size) ASYS_TEXT ("ioctl")), -1); #else /* ! ACE_WIN32 && ! ACE_LACKS_SOCKETPAIR && ! ACE_HAS_STREAM_PIPES */ if (ACE_OS::socketpair (AF_UNIX, - SOCK_DGRAM, + SOCK_STREAM, 0, this->handles_) == -1) ACE_ERROR_RETURN ((LM_ERROR, @@ -128,7 +128,8 @@ ACE_Pipe::open (int buffer_size) if (ACE_OS::setsockopt (this->handles_[0], SOL_SOCKET, SO_RCVBUF, - ACE_reinterpret_cast (const char *, &buffer_size), + ACE_reinterpret_cast (const char *, + &buffer_size), sizeof (buffer_size)) == -1 && errno != ENOTSUP) return -1; |