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

Diff for /pegasus/src/Service/ServerProcessUnix.cpp between version 1.4 and 1.5

version 1.4, 2005/06/15 17:52:32 version 1.5, 2005/09/29 20:20:59
Line 144 
Line 144 
 } }
  
  
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_SOLARIS_SPARC_CC)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_OS_SOLARIS)
  
 //=========================================================================== //===========================================================================
 //  NAME          : verify_process_name //  NAME          : verify_process_name
Line 231 
Line 231 
  
  // get the process name to make sure it is the cimserver process  // get the process name to make sure it is the cimserver process
 // ATTN: skip verify for Solaris // ATTN: skip verify for Solaris
 #if !defined(PEGASUS_PLATFORM_SOLARIS_SPARC_CC)  #if !defined(PEGASUS_OS_SOLARIS)
   if ((verify_process_name(path, getProcessName())) == -1)   if ((verify_process_name(path, getProcessName())) == -1)
   {   {
     return -1;     return -1;
Line 420 
Line 420 
       }       }
   }   }
 #endif #endif
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_SOLARIS_SPARC_CC)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_OS_SOLARIS)
   if (get_proc(pid) != -1 )   if (get_proc(pid) != -1 )
   {   {
       // cimserver is running       // cimserver is running
Line 475 
Line 475 
       kill(pid, SIGKILL);       kill(pid, SIGKILL);
   }   }
 #endif #endif
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_SOLARIS_SPARC_CC)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_OS_SOLARIS)
   if (get_proc(pid) != -1 )   if (get_proc(pid) != -1 )
   {   {
       kill(pid, SIGKILL);       kill(pid, SIGKILL);


Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2