File set-empty.diff of Package wvstreams
--- configfile/cfgsection.cc +++ configfile/cfgsection.cc @@ -50,14 +50,7 @@ trim_string(clean_entry.edit()); WvConfigEntry *e = (*this)[clean_entry]; - // need to delete the entry? - if (!value || !value[0]) - { - if (e) unlink(e); - return; - } - - // otherwise, add the entry requested + // add the entry requested if (e) e->set(value); else