Diff for libcfg+/src/cmdline.c between version 1.36 and 1.37
| version 1.36, 2004/01/12 06:03:09 |
version 1.37, 2007/11/22 09:46:02 |
|
|
| * http://platon.sk/projects/libcfg+/ |
* http://platon.sk/projects/libcfg+/ |
| */ |
*/ |
| |
|
| /* $Platon: libcfg+/src/cmdline.c,v 1.35 2003/11/07 17:26:48 nepto Exp $ */ |
/* $Platon: libcfg+/src/cmdline.c,v 1.36 2004/01/12 06:03:09 nepto Exp $ */ |
| |
|
| /* Includes {{{ */ |
/* Includes {{{ */ |
| #ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
| Line 58 cfg_cmdline_get_next_opt(con) |
|
| Line 58 cfg_cmdline_get_next_opt(con) |
|
| |
|
| /* Initial position seek */ |
/* Initial position seek */ |
| if (! con->parsing_started) { |
if (! con->parsing_started) { |
| con->parsing_started = 1; |
/* |
| |
* Old code ``con->parsing_started = 1;'' caused this warning: |
| |
* overflow in implicit constant conversion |
| |
*/ |
| |
con->parsing_started++; |
| |
|
| if (con->begin_pos < 0) { |
if (con->begin_pos < 0) { |
| con->error_code = CFG_ERROR_SEEK_ERROR; |
con->error_code = CFG_ERROR_SEEK_ERROR; |
Platon Group <platon@platon.org> http://platon.org/
|
|