loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp
branchRCL_3
changeset 45 cc28652e0254
parent 44 26645d81f48d
child 56 839ea9debada
equal deleted inserted replaced
44:26645d81f48d 45: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 		}