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

Diff for /pegasus/src/Pegasus/Common/AnonymousPipeWindows.cpp between version 1.2 and 1.3

version 1.2, 2004/10/17 20:39:16 version 1.3, 2005/01/16 01:52:55
Line 28 
Line 28 
 // Author: Carol Ann Krug Graves, Hewlett-Packard Company // Author: Carol Ann Krug Graves, Hewlett-Packard Company
 //             (carolann_graves@hp.com) //             (carolann_graves@hp.com)
 // //
 // Modified By:  // Modified By: David Dillard, VERITAS Software Corp.
   //                  (david.dillard@veritas.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 134 
Line 135 
 } }
  
 AnonymousPipe::Status AnonymousPipe::writeBuffer ( AnonymousPipe::Status AnonymousPipe::writeBuffer (
     const char * buffer,      const void * buffer,
     Uint32 bytesToWrite)     Uint32 bytesToWrite)
 { {
     //     //
Line 152 
Line 153 
     //     //
     SignalHandler::ignore (PEGASUS_SIGPIPE);     SignalHandler::ignore (PEGASUS_SIGPIPE);
  
     const char * writeBuffer = buffer;      const char * writeBuffer = reinterpret_cast<const char *>(buffer);
     DWORD expectedBytes = bytesToWrite;     DWORD expectedBytes = bytesToWrite;
     do     do
     {     {
Line 194 
Line 195 
 } }
  
 AnonymousPipe::Status AnonymousPipe::readBuffer ( AnonymousPipe::Status AnonymousPipe::readBuffer (
     char * buffer,      void * buffer,
     Uint32 bytesToRead)     Uint32 bytesToRead)
 { {
     //     //
Line 252 
Line 253 
             return STATUS_ERROR;             return STATUS_ERROR;
         }         }
  
         buffer += bytesRead;          buffer = reinterpret_cast<char *>(buffer) + bytesRead;
         bytesToRead -= bytesRead;         bytesToRead -= bytesRead;
     } while (bytesToRead > 0);     } while (bytesToRead > 0);
  


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2