|
a/src/utils/conftree.cpp |
|
b/src/utils/conftree.cpp |
|
... |
|
... |
142 |
|
142 |
|
143 |
ConfSimple::ConfSimple(int readonly, bool tildexp)
|
143 |
ConfSimple::ConfSimple(int readonly, bool tildexp)
|
144 |
: dotildexpand(tildexp), m_fmtime(0), m_holdWrites(false)
|
144 |
: dotildexpand(tildexp), m_fmtime(0), m_holdWrites(false)
|
145 |
{
|
145 |
{
|
146 |
status = readonly ? STATUS_RO : STATUS_RW;
|
146 |
status = readonly ? STATUS_RO : STATUS_RW;
|
|
|
147 |
}
|
|
|
148 |
|
|
|
149 |
void ConfSimple::reparse(const string& d)
|
|
|
150 |
{
|
|
|
151 |
clear();
|
|
|
152 |
stringstream input(d, ios::in);
|
|
|
153 |
parseinput(input);
|
147 |
}
|
154 |
}
|
148 |
|
155 |
|
149 |
ConfSimple::ConfSimple(const string& d, int readonly, bool tildexp)
|
156 |
ConfSimple::ConfSimple(const string& d, int readonly, bool tildexp)
|
150 |
: dotildexpand(tildexp), m_fmtime(0), m_holdWrites(false)
|
157 |
: dotildexpand(tildexp), m_fmtime(0), m_holdWrites(false)
|
151 |
{
|
158 |
{
|