summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2005-06-16 20:12:14 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2005-06-16 20:12:14 +0000
commit41d8f22085b9dc78fc6dedc4210bd30ae6310b80 (patch)
tree23f5bb58f10cb5cbc8d761a0046446477ff2f583
parent1e040d9c86b71264307971f27e2cecb2a4d17d94 (diff)
downloadATCD-41d8f22085b9dc78fc6dedc4210bd30ae6310b80.tar.gz
ChangeLogTag:Thu Jun 16 07:38:57 2005 Douglas C. Schmidt <schmidt@cs.wustl.edu>
-rw-r--r--ChangeLog4
-rw-r--r--ace/SOCK_Stream.cpp7
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index c765abbafb0..0d823ccf2ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,10 +4,6 @@ Thu Jun 16 07:38:57 2005 Douglas C. Schmidt <schmidt@cs.wustl.edu>
the PID is valid. Thanks to Howard Finer <hfiner at sonusnet
dot com> for contributing this.
- * ace/SOCK_Stream.cpp (close): Added a call to ACE_OS::shutdown()
- to force exit from ongoing operations. Thanks to Howard Finer
- <hfiner at sonusnet dot com> for contributing this.
-
* ace/Pipe.h (ACE_Pipe): Updated the documentation for this class
to clarify why it uses sockets on Windows. Thanks to Dave
Varnell <Dave.Varvell@ni.com> for prompting this.
diff --git a/ace/SOCK_Stream.cpp b/ace/SOCK_Stream.cpp
index 77feed6c819..14bb794288e 100644
--- a/ace/SOCK_Stream.cpp
+++ b/ace/SOCK_Stream.cpp
@@ -30,10 +30,15 @@ ACE_SOCK_Stream::close (void)
// this will cause subtle problems on UNIX due to the way that
// fork() works.
this->close_writer ();
-#endif /* ACE_WIN32 */
+#else
+#if 0
+ // Commenting this out for now since I think it will cause subtle
+ // problems on UNIX due to the way that fork() works.
// Shutdown the socket to force exit from ongoing operations
ACE_OS::shutdown (this->get_handle (), SHUT_RDWR);
+#endif /* 0 */
+#endif /* ACE_WIN32 */
// Close down the socket.
return ACE_SOCK::close ();