bug 2507: ConfigStore RawTextConfigLoad doesn't reset stream error state
Bug report and patch provided by Robert Schmidt on the users' list.
This commit is contained in:
@@ -186,6 +186,7 @@ void
|
||||
RawTextConfigLoad::Attributes (void)
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
m_is->clear ();
|
||||
m_is->seekg (0);
|
||||
std::string type, path, value;
|
||||
*m_is >> type >> path >> value;
|
||||
|
||||
Reference in New Issue
Block a user