File set-empty.diff of Package wvstreams
Index: configfile/cfgsection.cc
===================================================================
--- configfile/cfgsection.cc.orig
+++ configfile/cfgsection.cc
@@ -50,14 +50,7 @@ void WvConfigSection::set(WvStringParm e
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