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 libcfg+/src/cmdline.c between version 1.28 and 1.29

version 1.28, 2002/08/16 20:31:42 version 1.29, 2002/08/27 13:19:18
Line 102  cfg_cmdline_get_next_opt(con)
Line 102  cfg_cmdline_get_next_opt(con)
                 if (con->cur_opt_type & CFG_SHORT_OPTIONS) {                  if (con->cur_opt_type & CFG_SHORT_OPTIONS) {
   
                         con->cur_opt[0] = con->cur_arg[0];                          con->cur_opt[0] = con->cur_arg[0];
                         FUNCTION(strdel)(con->cur_arg);                          PLATON_FUNC(strdel)(con->cur_arg);
   
                         if (strlen(con->cur_arg) == 0) {                          if (strlen(con->cur_arg) == 0) {
                                 con->cur_opt_type -= CFG_SHORT_OPTIONS;                                  con->cur_opt_type -= CFG_SHORT_OPTIONS;
Line 128  cfg_cmdline_get_next_opt(con)
Line 128  cfg_cmdline_get_next_opt(con)
   
                         __cfg_free_currents(con);                          __cfg_free_currents(con);
   
                         if (! FUNCTION(strdyn_compare)(con->prop[CFG_LINE_STOP_STRING],                          if (! PLATON_FUNC(strdyn_compare)(con->prop[CFG_LINE_STOP_STRING],
                                                 con->argv[con->cur_idx])) {                                                  con->argv[con->cur_idx])) {
                                 con->error_code = CFG_ERROR_STOP_STR_FOUND;                                  con->error_code = CFG_ERROR_STOP_STR_FOUND;
                                 return con->error_code;                                  return con->error_code;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

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