(file) Return to Config.c CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

Diff for /pegasus/src/Executor/Config.c between version 1.2 and 1.3

version 1.2, 2007/05/25 18:35:07 version 1.3, 2007/09/25 17:57:41
Line 179 
Line 179 
     const char* name,     const char* name,
     char value[EXECUTOR_BUFFER_SIZE])     char value[EXECUTOR_BUFFER_SIZE])
 { {
       const char* configFileName = 0;
     char path[EXECUTOR_BUFFER_SIZE];     char path[EXECUTOR_BUFFER_SIZE];
     size_t i;     size_t i;
  
Line 187 
Line 188 
     if (GetConfigParamFromCommandLine(name, value) == 0)     if (GetConfigParamFromCommandLine(name, value) == 0)
         return 0;         return 0;
  
     /* (2) Next check planned config file. */      /* (2) Next check config file. */
  
     if (GetHomedPath(PEGASUS_PLANNED_CONFIG_FILE_PATH, path) == 0 &&      if (strcmp(name, "shutdownTimeout") == 0)
       {
           configFileName = PEGASUS_CURRENT_CONFIG_FILE_PATH;
       }
       else
       {
           configFileName = PEGASUS_PLANNED_CONFIG_FILE_PATH;
       }
   
       if (GetHomedPath(configFileName, path) == 0 &&
         GetConfigParamFromFile(path, name, value) == 0)         GetConfigParamFromFile(path, name, value) == 0)
         return 0;         return 0;
  


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2