diff options
author | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
commit | 26b5e033ffde3d161382fc9addbfa99738379641 (patch) | |
tree | a344f369ca32945f787a02dee35c3dbe342bed7e /dep/ACE_wrappers/ace/SPIPE.cpp | |
parent | f21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff) |
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
Diffstat (limited to 'dep/ACE_wrappers/ace/SPIPE.cpp')
-rw-r--r-- | dep/ACE_wrappers/ace/SPIPE.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dep/ACE_wrappers/ace/SPIPE.cpp b/dep/ACE_wrappers/ace/SPIPE.cpp index e26e027cbff..40874a78013 100644 --- a/dep/ACE_wrappers/ace/SPIPE.cpp +++ b/dep/ACE_wrappers/ace/SPIPE.cpp @@ -1,26 +1,17 @@ // $Id: SPIPE.cpp 80826 2008-03-04 14:51:23Z wotte $ - #include "ace/SPIPE.h" - #include "ace/OS_NS_unistd.h" - #if !defined (__ACE_INLINE__) #include "ace/SPIPE.inl" #endif /* __ACE_INLINE__ */ - ACE_RCSID(ace, SPIPE, "$Id: SPIPE.cpp 80826 2008-03-04 14:51:23Z wotte $") - ACE_BEGIN_VERSIONED_NAMESPACE_DECL - ACE_ALLOC_HOOK_DEFINE(ACE_SPIPE) - // This is the do-nothing constructor. - ACE_SPIPE::ACE_SPIPE (void) { // ACE_TRACE ("ACE_SPIPE::ACE_SPIPE"); } - void ACE_SPIPE::dump (void) const { @@ -28,9 +19,7 @@ ACE_SPIPE::dump (void) const ACE_TRACE ("ACE_SPIPE::dump"); #endif /* ACE_HAS_DUMP */ } - // Close down a ACE_SPIPE. - int ACE_SPIPE::get_local_addr (ACE_SPIPE_Addr &local_sap) const { @@ -38,15 +27,12 @@ ACE_SPIPE::get_local_addr (ACE_SPIPE_Addr &local_sap) const local_sap = this->local_addr_; return 0; } - // Close down the STREAM pipe without removing the rendezvous point. - int ACE_SPIPE::close (void) { ACE_TRACE ("ACE_SPIPE::close"); int result = 0; - if (this->get_handle () != ACE_INVALID_HANDLE) { result = ACE_OS::close (this->get_handle ()); @@ -57,10 +43,8 @@ ACE_SPIPE::close (void) } return result; } - // Close down the STREAM pipe and remove the rendezvous point from the // file system. - int ACE_SPIPE::remove (void) { @@ -68,7 +52,6 @@ ACE_SPIPE::remove (void) int result = this->close (); return ACE_OS::unlink (this->local_addr_.get_path_name ()) == -1 || result == -1 ? -1 : 0; } - #if defined (ACE_HAS_STREAM_PIPES) /// Temporary store of duplex pipe handle. void @@ -78,6 +61,5 @@ ACE_SPIPE::set_duplex_handle (ACE_HANDLE handle) this->duplex_pipe_handle_ = handle; } #endif /* ACE_HAS_STREAM_PIPES */ - ACE_END_VERSIONED_NAMESPACE_DECL |