Commit fa246343 authored by Pavel Vainerman's avatar Pavel Vainerman

minor fixes

parent 24ad8c8b
......@@ -410,10 +410,12 @@ void SharedMemory::fastSaveValue(const IOController_i::SensorInfo& si, CORBA::Lo
// ------------------------------------------------------------------------------------------
SharedMemory* SharedMemory::init_smemory( int argc, char* argv[] )
{
string dfile = conf->getConfDir() + conf->getArgParam("--datfile",conf->getConfFileName());
dlog[Debug::INFO] << "(smemory): datfile = " << dfile << endl;
string dfile = conf->getArgParam("--datfile",conf->getConfFileName());
if( dfile[0]!='.' && dfile[0]!='/' )
dfile = conf->getConfDir() + dfile;
dlog[Debug::INFO] << "(smemory): datfile = " << dfile << endl;
UniSetTypes::ObjectId ID = conf->getControllerID(conf->getArgParam("--smemory-id","SharedMemory"));
if( ID == UniSetTypes::DefaultObjectId )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment