(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 and 1.6.2.2

version 1.6, 2007/08/03 02:34:08 version 1.6.2.2, 2007/12/01 01:16:33
Line 114 
Line 114 
     return true;     return true;
 } }
  
 #elif defined(PEGASUS_OS_TYPE_UNIX) || defined(PEGASUS_OS_VMS)  #elif defined(PEGASUS_OS_TYPE_UNIX) || \
         defined(PEGASUS_OS_VMS) || \
         defined(PEGASUS_OS_VXWORKS)
  
 ////////////////////////////////////// //////////////////////////////////////
 // //
Line 306 
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  
changed lines
  Added in v.1.6.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2