confuse-devel
[Top][All Lists]
Advanced

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

[Confuse-devel] issues in 2.5


From: Dan Lipsitt
Subject: [Confuse-devel] issues in 2.5
Date: Fri, 7 Jan 2005 16:26:23 -0500

Here are some things I've noticed about the current version of libconfuse:

1) The CFGF_NODEFAULT option doesn't behave the way I expected it to.
I assumed (perhaps incorrectly) that if an option had CFGF_NODEFAULT
specified and a value for that option was not specified in the config
file, then an error would occur during parsing. If this was not the
intended function of CFGF_NODEFAULT, it would be a useful one to have.
Perhaps another flag could provide it. Something like CFGF_MANDATORY.

2) If a CFG_STR defaults to "" (an empty string) and isn't set in the
config file, cfg_print() will often print junk from memory for the
value of that string. However, I am having trouble producing a short
program that replicates this problem.

3) The version of the documentation at
http://www.nongnu.org/confuse/manual is still at 2.3.

Thanks, Martin for such a useful library!

Dan




reply via email to

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