loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp
branchRCL_3
changeset 23 26645d81f48d
parent 0 08ec8eefde2f
child 24 cc28652e0254
equal deleted inserted replaced
21:28839de615b4 23:26645d81f48d
   131 	BaflUtils::NearestLanguageFile(iFsSession, fileName);
   131 	BaflUtils::NearestLanguageFile(iFsSession, fileName);
   132 
   132 
   133 	// Check the entry exists on this drive (e.g. if we are running the log server
   133 	// Check the entry exists on this drive (e.g. if we are running the log server
   134 	// from RAM, then default to the ROM if no RSC on the current drive exists).
   134 	// from RAM, then default to the ROM if no RSC on the current drive exists).
   135 	TEntry fsEntry;
   135 	TEntry fsEntry;
   136 	if	(iFsSession.Entry(fileName, fsEntry) == KErrNotFound)
   136 	TInt err = iFsSession.Entry(fileName, fsEntry);
       
   137 	if ( err == KErrNotFound || err == KErrPathNotFound )
   137 		{
   138 		{
   138 		// Switch to ROM (we might already have been launching from the ROM,
   139 		// Switch to ROM (we might already have been launching from the ROM,
   139 		// in which case this will have no effect anyway).
   140 		// in which case this will have no effect anyway).
   140 		fileName[0] = 'Z';
   141 		fileName[0] = 'Z';
   141 		}
   142 		}