Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for ep/src/conf.c between version 1.31 and 1.32

version 1.31, 2002/07/15 14:45:53 version 1.32, 2002/07/15 19:04:40
Line 474  conf_cmdline_parse(argc, argv, global, p
Line 474  conf_cmdline_parse(argc, argv, global, p
         cfg_reset_context(global_context);          cfg_reset_context(global_context);
         cfg_reset_context(process_context);          cfg_reset_context(process_context);
   
         cfg_set_cmdline_context(global_context, argc, argv);          cfg_set_cmdline_context_by_argc(global_context, argc, argv);
         cfg_set_cmdline_context(process_context, argc, argv);          cfg_set_cmdline_context_by_argc(process_context, argc, argv);
   
         /*          /*
          * Yokotasi intelligent parser. :-)           * Yokotasi intelligent parser. :-)
Line 497  conf_cmdline_parse(argc, argv, global, p
Line 497  conf_cmdline_parse(argc, argv, global, p
                         }                          }
   
                         cur_context = global_context;                          cur_context = global_context;
                         /* not needed: cfg_set_cmdline_context(cur_context, argc, argv); */                          /* not needed:
                              cfg_set_cmdline_context_by_argc(cur_context, argc, argv); */
                         continue;                          continue;
                 }                  }
                 else if (ret == CFG_ERR_STOP_STR_FOUND) {                  else if (ret == CFG_ERR_STOP_STR_FOUND) {
Line 518  conf_cmdline_parse(argc, argv, global, p
Line 519  conf_cmdline_parse(argc, argv, global, p
                                                 break;                                                  break;
                                         }                                          }
                                         /* Adding to processes array */                                          /* Adding to processes array */
                                         if (! add_process_cfg_to_processes(processes, &processes_size))                                  if (! add_process_cfg_to_processes(processes, &processes_size))
                                                 return CFG_ERR_NOMEM;                                                  return CFG_ERR_NOMEM;
   
                                 }                                  }
Line 528  conf_cmdline_parse(argc, argv, global, p
Line 529  conf_cmdline_parse(argc, argv, global, p
   
                         index += cur_idx + 1;                          index += cur_idx + 1;
                         cur_context = process_context;                          cur_context = process_context;
                         cfg_set_cmdline_context(cur_context, argc - index, argv + index);                          cfg_set_cmdline_context_by_argc(cur_context,
                                           argc - index, argv + index);
                 }                  }
                 else { /* ret == CFG_OK */                  else { /* ret == CFG_OK */
                         break;                          break;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top