(file) Return to cimserver_unix.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server / Attic

Diff for /pegasus/src/Server/Attic/cimserver_unix.cpp between version 1.6 and 1.7

version 1.6, 2002/05/31 18:13:24 version 1.7, 2002/05/31 19:27:44
Line 28 
Line 28 
  
 #include <sys/types.h> #include <sys/types.h>
 #include <sys/stat.h> #include <sys/stat.h>
   #if defined(PEGASUS_OS_HPUX)
 #include <sys/pstat.h> #include <sys/pstat.h>
   #endif
 #include <fcntl.h> #include <fcntl.h>
 #include <unistd.h> #include <unistd.h>
  
Line 86 
Line 88 
   //   //
   // kill the process if it is still alive   // kill the process if it is still alive
   //   //
   #if defined(PEGASUS_OS_HPUX)
   struct pst_status pstru;   struct pst_status pstru;
  
   if (pstat_getproc(&pstru, sizeof(struct pst_status), (size_t)0, pid) != -1)   if (pstat_getproc(&pstru, sizeof(struct pst_status), (size_t)0, pid) != -1)
   {   {
       kill(pid, SIGKILL);       kill(pid, SIGKILL);
   }   }
   #endif
  
   // remove the file   // remove the file
   System::removeFile(fname);   System::removeFile(fname);


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2