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:
Robert R. Schmidt
2016-09-27 16:41:02 -07:00
parent 5179503673
commit 9f8e72afef

View File

@@ -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;