*Backed out changeset 3be01fb200a5

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-17 15:51:44 -07:00
parent 26b5e033ff
commit e585187b24
2257 changed files with 103863 additions and 761 deletions
+12
View File
@@ -1,12 +1,19 @@
// $Id: MEM_Stream.cpp 80826 2008-03-04 14:51:23Z wotte $
#include "ace/MEM_Stream.h"
#if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1)
#if !defined (__ACE_INLINE__)
#include "ace/MEM_Stream.inl"
#endif /* __ACE_INLINE__ */
ACE_RCSID(ace, MEM_Stream, "$Id: MEM_Stream.cpp 80826 2008-03-04 14:51:23Z wotte $")
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_ALLOC_HOOK_DEFINE(ACE_MEM_Stream)
void
ACE_MEM_Stream::dump (void) const
{
@@ -14,11 +21,14 @@ ACE_MEM_Stream::dump (void) const
ACE_TRACE ("ACE_MEM_Stream::dump");
#endif /* ACE_HAS_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
@@ -31,6 +41,8 @@ ACE_MEM_Stream::close (void)
// Close down the socket.
return ACE_SOCK::close ();
}
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */