Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre libcfg+/src/cfg+.c medzi verziami 1.37 a 1.38

verzia 1.37, 2002/05/11 14:54:58 verzia 1.38, 2002/05/27 16:43:40
Riadok 190  cfg_set_cfgfile_context(con, begin_pos,
Riadok 190  cfg_set_cfgfile_context(con, begin_pos,
 cfg_reset_context(con)  cfg_reset_context(con)
         const CFG_CONTEXT con;          const CFG_CONTEXT con;
 {  {
         con->cur_idx = 0;          con->error_code  = CFG_OK;
           con->cur_idx     = 0;
         con->cur_idx_tmp = 0;          con->cur_idx_tmp = 0;
   
         if (con->used_opt_idx != NULL) {          if (con->used_opt_idx != NULL) {
Riadok 204  cfg_reset_context(con)
Riadok 205  cfg_reset_context(con)
            if (con->fhandle != NULL) {             if (con->fhandle != NULL) {
            fclose(con->fhandle);             fclose(con->fhandle);
            con->fhandle = NULL;             con->fhandle = NULL;
            }             } */
            */  
 }  }
   
         void          void
Riadok 269  cfg_get_error_str(con)
Riadok 269  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_POS_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);

Legend:
Odstranené z verzie1.37  
zmenené riadky
  Pridané vo verzii1.38

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok