(file) Return to AnonymousPipe.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/AnonymousPipe.cpp between version 1.7 and 1.12

version 1.7, 2006/01/30 16:16:45 version 1.12, 2007/02/13 19:21:44
Line 27 
Line 27 
 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 // //
 //==============================================================================  //=============================================================================
 // //
 // Author: Carol Ann Krug Graves, Hewlett-Packard Company  //%////////////////////////////////////////////////////////////////////////////
 //             (carolann_graves@hp.com)  
 //  
 // Modified By: David Dillard, VERITAS Software Corp.  
 //                  (david.dillard@veritas.com)  
 //              Sean Keenan (sean.keenan@hp.com)  
 //  
 //%/////////////////////////////////////////////////////////////////////////////  
  
 #include <Pegasus/Common/CIMMessageSerializer.h> #include <Pegasus/Common/CIMMessageSerializer.h>
 #include <Pegasus/Common/CIMMessageDeserializer.h> #include <Pegasus/Common/CIMMessageDeserializer.h>
Line 50 
Line 43 
 #if defined (PEGASUS_OS_TYPE_WINDOWS) #if defined (PEGASUS_OS_TYPE_WINDOWS)
 # include "AnonymousPipeWindows.cpp" # include "AnonymousPipeWindows.cpp"
 #elif defined (PEGASUS_OS_TYPE_UNIX) #elif defined (PEGASUS_OS_TYPE_UNIX)
 # include "AnonymousPipeUnix.cpp"  # include "AnonymousPipePOSIX.cpp"
 #elif defined (PEGASUS_OS_VMS) #elif defined (PEGASUS_OS_VMS)
 # include "AnonymousPipeVms.cpp"  # include "AnonymousPipePOSIX.cpp"
 #else #else
 # error "Unsupported platform" # error "Unsupported platform"
 #endif #endif
Line 89 
Line 82 
         Uint32 messageLength = messageBuffer.size ();         Uint32 messageLength = messageBuffer.size ();
         const char * messageData = messageBuffer.getData ();         const char * messageData = messageBuffer.getData ();
  
         writeStatus = writeBuffer ((const char *) &messageLength,          writeStatus =
             sizeof (Uint32));              writeBuffer((const char*) &messageLength, sizeof(Uint32));
  
         if (writeStatus == STATUS_SUCCESS)         if (writeStatus == STATUS_SUCCESS)
         {         {
             writeStatus = writeBuffer (messageBuffer.getData (),              writeStatus = writeBuffer(messageData, messageLength);
                 messageLength);  
         }         }
     }     }
     catch (...)     catch (...)


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2