Get the path to load the ini file from. I'm not sure if this fix is needed in other places as well.

src/sim/main.cc:
    Get the path to load the ini file from.

--HG--
extra : convert_revision : aa38fc9b1bc99cd74d095cbfc67253e4549f91d3
This commit is contained in:
Kevin Lim 2006-07-19 15:28:53 -04:00
parent 85515c4976
commit 660ea2b176

View file

@ -215,7 +215,7 @@ loadIniFile(PyObject *_resolveFunc)
configStream = simout.find("config.out");
// The configuration database is now complete; start processing it.
inifile.load("config.ini");
inifile.load(simout.resolve("config.ini"));
// Initialize statistics database
Stats::InitSimStats();