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

Diff for libcfg+/src/cfg+.c between version 1.36 and 1.37

version 1.36, 2002/04/29 20:07:36 version 1.37, 2002/05/11 14:54:58
Line 270  cfg_get_error_str(con)
Line 270  cfg_get_error_str(con)
         char *s;          char *s;
         char *str_type  = con->type == CFG_LINE ? "on command line" : "in config file";          char *str_type  = con->type == CFG_LINE ? "on command line" : "in config file";
         char *str_pos = con->type == CFG_LINE ? /* "near" */ "at position"          char *str_pos = con->type == CFG_LINE ? /* "near" */ "at position"
                 : (con->flags & CFG_FILE_LINE_USAGE ? "on line" : "at position");                  : (con->flags & CFG_FILE_LINE_POS_USAGE ? "on line" : "at position");
         char *str_opt   = cfg_get_cur_opt(con);          char *str_opt   = cfg_get_cur_opt(con);
         char *str_arg   = cfg_get_cur_arg(con);          char *str_arg   = cfg_get_cur_arg(con);
         char *str_filename = con->filename;          char *str_filename = con->filename;
Line 581  main(argc, argv)
Line 581  main(argc, argv)
                 if (i == 0) {                  if (i == 0) {
                         cfg_set_cmdline_context(con, argc, argv);                          cfg_set_cmdline_context(con, argc, argv);
                         cfg_set_context_flag(con, CFG_ADVANCED_LEFTOVERS);                          cfg_set_context_flag(con, CFG_ADVANCED_LEFTOVERS);
                         cfg_set_context_flag(con, CFG_FILE_LINE_USAGE);                          cfg_set_context_flag(con, CFG_FILE_LINE_POS_USAGE);
                 }                  }
                 else {                  else {
                         cfg_set_cfgfile_context(con, 1, 0, o_cfgfile);                          cfg_set_cfgfile_context(con, 1, 0, o_cfgfile);

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

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