Diff for libcfg+/src/shared.c between version 1.36 and 1.37
| version 1.36, 2004/01/12 06:03:09 |
version 1.37, 2007/11/22 09:16:56 |
|
|
| * http://platon.sk/projects/libcfg+/ |
* http://platon.sk/projects/libcfg+/ |
| */ |
*/ |
| |
|
| /* $Platon: libcfg+/src/shared.c,v 1.35 2003/11/07 17:26:48 nepto Exp $ */ |
/* $Platon: libcfg+/src/shared.c,v 1.36 2004/01/12 06:03:09 nepto Exp $ */ |
| |
|
| /* Includes {{{ */ |
/* Includes {{{ */ |
| #ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
| Line 139 __cfg_process_currents(con, ret_val, arg |
|
| Line 139 __cfg_process_currents(con, ret_val, arg |
|
| fputs("]\n", stderr); |
fputs("]\n", stderr); |
| #endif |
#endif |
| |
|
| if (opt_idx < 0) |
if (opt_idx < 0) { |
| |
if (con->flags & CFG_IGNORE_UNKNOWN) { |
| |
return CFG_OK; |
| |
} |
| return CFG_ERROR_UNKNOWN; /* unknown option reached */ |
return CFG_ERROR_UNKNOWN; /* unknown option reached */ |
| |
} |
| |
|
| if (! (con->flags & CFG_IGNORE_MULTI) |
if (! (con->flags & CFG_IGNORE_MULTI) |
| && ! (con->options[opt_idx].type & CFG_MULTI)) { |
&& ! (con->options[opt_idx].type & CFG_MULTI)) { |
Platon Group <platon@platon.org> http://platon.org/
|
|