loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
   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 	TInt err = iFsSession.Entry(fileName, fsEntry);
   136 	if	(iFsSession.Entry(fileName, fsEntry) == KErrNotFound)
   137 	if ( err == KErrNotFound || err == KErrPathNotFound )
       
   138 		{
   137 		{
   139 		// Switch to ROM (we might already have been launching from the ROM,
   138 		// Switch to ROM (we might already have been launching from the ROM,
   140 		// in which case this will have no effect anyway).
   139 		// in which case this will have no effect anyway).
   141 		fileName[0] = 'Z';
   140 		fileName[0] = 'Z';
   142 		}
   141 		}