Index: aclocal.m4 ================================================================== --- aclocal.m4 +++ aclocal.m4 @@ -125,11 +125,11 @@ mingw32msvc*) SHOBJEXT="dll" SHOBJFLAGS="-DPIC" CFLAGS="$CFLAGS -mno-cygwin -mms-bitfields" CPPFLAGS="$CPPFLAGS -mno-cygwin -mms-bitfields" - SHOBJLDFLAGS='-shared -Wl,--enable-auto-image-base -Wl,--output-def,$[@].def,--out-implib,$[@].a' + SHOBJLDFLAGS='-shared -Wl,--dll -Wl,--enable-auto-image-base -Wl,--output-def,$[@].def,--out-implib,$[@].a' ;; cygwin*) SHOBJEXT="dll" SHOBJFLAGS="-fPIC -DPIC" CFLAGS="$CFLAGS -mms-bitfields" Index: configure ================================================================== --- configure +++ configure @@ -1,9 +1,9 @@ #! /bin/sh # From configure.ac Revision . # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for libconfig 0.1.17. +# Generated by GNU Autoconf 2.59 for libconfig 0.1.18. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -266,12 +266,12 @@ : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME='libconfig' PACKAGE_TARNAME='libconfig' -PACKAGE_VERSION='0.1.17' -PACKAGE_STRING='libconfig 0.1.17' +PACKAGE_VERSION='0.1.18' +PACKAGE_STRING='libconfig 0.1.18' PACKAGE_BUGREPORT='' # Factoring default headers for most tests. ac_includes_default="\ #include @@ -776,11 +776,11 @@ # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libconfig 0.1.17 to adapt to many kinds of systems. +\`configure' configures libconfig 0.1.18 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. @@ -837,11 +837,11 @@ _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libconfig 0.1.17:";; + short | recursive ) echo "Configuration of libconfig 0.1.18:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) @@ -958,11 +958,11 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -libconfig configure 0.1.17 +libconfig configure 0.1.18 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. @@ -972,11 +972,11 @@ exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libconfig $as_me 0.1.17, which was +It was created by libconfig $as_me 0.1.18, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF @@ -1418,11 +1418,11 @@ mingw32msvc*) SHOBJEXT="dll" SHOBJFLAGS="-DPIC" CFLAGS="$CFLAGS -mno-cygwin -mms-bitfields" CPPFLAGS="$CPPFLAGS -mno-cygwin -mms-bitfields" - SHOBJLDFLAGS='-shared -Wl,--enable-auto-image-base -Wl,--output-def,$@.def,--out-implib,$@.a' + SHOBJLDFLAGS='-shared -Wl,--dll -Wl,--enable-auto-image-base -Wl,--output-def,$@.def,--out-implib,$@.a' ;; cygwin*) SHOBJEXT="dll" SHOBJFLAGS="-fPIC -DPIC" CFLAGS="$CFLAGS -mms-bitfields" @@ -17449,11 +17449,11 @@ ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by libconfig $as_me 0.1.17, which was +This file was extended by libconfig $as_me 0.1.18, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS @@ -17509,11 +17509,11 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -libconfig config.status 0.1.17 +libconfig config.status 0.1.18 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1,7 +1,7 @@ AC_REVISION($Revision $) -AC_INIT(libconfig, 0.1.17) +AC_INIT(libconfig, 0.1.18) AC_CONFIG_HEADER(config.h) dnl Find out about the host OS DC_CHK_OS_INFO Index: libconfig.c ================================================================== --- libconfig.c +++ libconfig.c @@ -50,20 +50,23 @@ return(0); } static int lc_process_var_cidr(void *data, const char *value) { - return(0); + return(-1); } static int lc_process_var_hostname6(void *data, const char *value) { + return(-1); } static int lc_process_var_hostname4(void *data, const char *value) { + return(-1); } static int lc_process_var_ip6(void *data, const char *value) { + return(-1); } static int lc_process_var_ip4(void *data, const char *value) { uint32_t *dataval, retval = 0; const char *dotptr = NULL; @@ -894,10 +897,12 @@ free(handler); handler = next; } + + varhandlers = NULL; return; } int lc_process(int argc, char **argv, const char *appname, lc_conf_type_t type, const char *extra) {