diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /ace/MEM_Stream.cpp | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'ace/MEM_Stream.cpp')
-rw-r--r-- | ace/MEM_Stream.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/ace/MEM_Stream.cpp b/ace/MEM_Stream.cpp deleted file mode 100644 index 79b37e21838..00000000000 --- a/ace/MEM_Stream.cpp +++ /dev/null @@ -1,41 +0,0 @@ -// MEM_Stream.cpp -// $Id$ - -#include "ace/MEM_Stream.h" - -#if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1) -#if defined (ACE_LACKS_INLINE_FUNCTIONS) -#include "ace/MEM_Stream.i" -#endif - -ACE_RCSID(ace, MEM_Stream, "$Id$") - -ACE_ALLOC_HOOK_DEFINE(ACE_MEM_Stream) - -void -ACE_MEM_Stream::dump (void) const -{ - ACE_TRACE ("ACE_MEM_Stream::dump"); -} - -int -ACE_MEM_Stream::close (void) -{ - this->send ((char *)0, 0); - - this->fini (); - -#if defined (ACE_WIN32) - // We need the following call to make things work correctly on - // Win32, which requires use to do a <close_writer> before doing the - // close in order to avoid losing data. Note that we don't need to - // do this on UNIX since it doesn't have this "feature". Moreover, - // this will cause subtle problems on UNIX due to the way that - // fork() works. - this->close_writer (); -#endif /* ACE_WIN32 */ - // Close down the socket. - return ACE_SOCK::close (); -} - -#endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */ |