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

Diff for /pegasus/src/Pegasus/Common/TraceFileHandlerPOSIX.cpp between version 1.18 and 1.19

version 1.18, 2009/01/21 19:52:04 version 1.19, 2009/01/23 12:07:33
Line 119 
Line 119 
     fprintf(_fileHandle, "%s", message);     fprintf(_fileHandle, "%s", message);
     vfprintf(_fileHandle, fmt, argList);     vfprintf(_fileHandle, fmt, argList);
     fprintf(_fileHandle, "\n");     fprintf(_fileHandle, "\n");
   
   #if defined(PEGASUS_OS_VMS)
       if (0 == fsync(fileno(_fileHandle)))
   #else
     if (0 == fflush(_fileHandle))     if (0 == fflush(_fileHandle))
   #endif
     {     {
         // trace message successful written, reset error log messages         // trace message successful written, reset error log messages
         // thus allow writing of errors to log again         // thus allow writing of errors to log again
Line 150 
Line 155 
     prepareFileHandle();     prepareFileHandle();
     // Write the message to the file     // Write the message to the file
     fprintf(_fileHandle, "%s\n", message);     fprintf(_fileHandle, "%s\n", message);
   #if defined(PEGASUS_OS_VMS)
       if (0 == fsync(fileno(_fileHandle)))
   #else
     if (0 == fflush(_fileHandle))     if (0 == fflush(_fileHandle))
   #endif
     {     {
         // trace message successful written, reset error log messages         // trace message successful written, reset error log messages
         // thus allow writing of errors to log again         // thus allow writing of errors to log again


Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2