(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.4.2 and 1.1.4.3

version 1.1.4.2, 2007/03/23 21:53:45 version 1.1.4.3, 2007/05/14 17:39:55
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.4.2  
changed lines
  Added in v.1.1.4.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2