(file) Return to Fatal.c CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

Diff for /pegasus/src/Executor/Fatal.c between version 1.1.2.7 and 1.2

version 1.1.2.7, 2007/01/17 18:48:53 version 1.2, 2007/05/25 18:35:07
Line 58 
Line 58 
     char prefixedFormat[EXECUTOR_BUFFER_SIZE];     char prefixedFormat[EXECUTOR_BUFFER_SIZE];
     char lineStr[32];     char lineStr[32];
  
   #ifdef PEGASUS_DEBUG
     /* Prepend "__FILE__(__LINE__): FATAL: " to format. */     /* Prepend "__FILE__(__LINE__): FATAL: " to format. */
  
     Strlcpy(prefixedFormat, file, sizeof(prefixedFormat));     Strlcpy(prefixedFormat, file, sizeof(prefixedFormat));
Line 65 
Line 66 
     sprintf(lineStr, "%u", (unsigned int)line);     sprintf(lineStr, "%u", (unsigned int)line);
     Strlcat(prefixedFormat, lineStr, sizeof(prefixedFormat));     Strlcat(prefixedFormat, lineStr, sizeof(prefixedFormat));
     Strlcat(prefixedFormat, "): FATAL: ", sizeof(prefixedFormat));     Strlcat(prefixedFormat, "): FATAL: ", sizeof(prefixedFormat));
   #endif
   
     Strlcat(prefixedFormat,  format, sizeof(prefixedFormat));     Strlcat(prefixedFormat,  format, sizeof(prefixedFormat));
  
     /* Print to syslog. */     /* Print to syslog. */


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2