Switch to side-by-side view
--- a/src/utils/conftree.cpp +++ b/src/utils/conftree.cpp @@ -144,6 +144,13 @@ : dotildexpand(tildexp), m_fmtime(0), m_holdWrites(false) { status = readonly ? STATUS_RO : STATUS_RW; +} + +void ConfSimple::reparse(const string& d) +{ + clear(); + stringstream input(d, ios::in); + parseinput(input); } ConfSimple::ConfSimple(const string& d, int readonly, bool tildexp)