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

Diff for /pegasus/src/Service/ServerRunStatus.cpp between version 1.6.2.1 and 1.6.2.2

version 1.6.2.1, 2007/09/12 23:56:27 version 1.6.2.2, 2007/12/01 01:16:33
Line 308 
Line 308 
     static char path[32];     static char path[32];
     static struct stat statBuffer;     static struct stat statBuffer;
  
     sprintf(path, "/proc/%d", pid);      sprintf(path, "/proc/%d", (int)pid);
     if (stat(path, &statBuffer) == -1)          // process stopped running     if (stat(path, &statBuffer) == -1)          // process stopped running
     {     {
         return false;         return false;


Legend:
Removed from v.1.6.2.1  
changed lines
  Added in v.1.6.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2