[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Confuse-devel] libConfuse 2.1 released

From: Martin Hedenfalk
Subject: [Confuse-devel] libConfuse 2.1 released
Date: Sun, 13 Jul 2003 18:51:06 +0200


libConfuse 2.1 has just been released. Below is the relevant lines from the NEWS file:

* Reversed logic in cfg_getXXX functions, they now abort if given an
  undeclared option name, and NULL/false if no value is set. Suggested
  by Ademar de Souza Reis Jr.
* Sections without CFGF_MULTI flag now have default values
* The cfg_getXXX functions now accept an extended syntax for the
  option name, try cfg_getxxx(cfg, "sectionname|optionname"). This way
  one doesn't have to first get the section with cfg_getsec().
* Fixed two more memory leaks. (val->section and cfg->filename)
* Fixed unterminated string bug in replacement strndup function
* Added project files for MS Visual C++ 6.0
* Includes io.h on windows
* Fixed initialization of default values for lists, when given a NULL
  string. Now initialized to the empty list. Noted by Juraj Variny.
* Setting a list to the empty list in the config file now possible.
* Appending to default values in a list is now ok.
* Hexadecimal escape sequences allowed in double-quoted strings
* Corrected line number with multi-line quoted strings
* Fixed undetected /*comment*/ (ie, without space between /* and the text)
* Forgot to fclose include file after use, found by James Haley
* Only include NLS support if gettext found in libc or preinstalled
* Documented the cfg_setlist and cfg_addlist functions
* The cfg_opt_setxxx functions no longer take a cfg_t parameter (unused anyway)

Get it at

Martin Hedenfalk <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]