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

Diff for /pegasus/src/Pegasus/Common/TraceMemoryHandler.cpp between version 1.4 and 1.5

version 1.4, 2008/09/04 18:10:31 version 1.5, 2008/09/04 18:22:29
Line 399 
Line 399 
         // buffer.         // buffer.
         // To save memory allocations, the overflow buffer is kept around         // To save memory allocations, the overflow buffer is kept around
         // until it becomes to small and needs to be reallocated.         // until it becomes to small and needs to be reallocated.
   
           if (ttlMsgLen == -1)
           {
               // The vsnprintf failed and did not return the bytes needed for the
               // message.  A fixed message size is used in this case.  The
               // vsnprintf will write not more than 4096 bytes (including
               // trailing '\0') into the buffer.  The rest is truncated.
               ttlMsgLen = 4096;
           }
   
         if ((Uint32)ttlMsgLen > _overflowBufferSize)         if ((Uint32)ttlMsgLen > _overflowBufferSize)
         {         {
             if (_overflowBuffer != NULL )             if (_overflowBuffer != NULL )


Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2