equal
deleted
inserted
replaced
1031 |
1031 |
1032 // open the log file for writing |
1032 // open the log file for writing |
1033 if (iBCLogFile.Open(iEnv->FsSession(), iBCLogFilePath, EFileWrite) != KErrNone) |
1033 if (iBCLogFile.Open(iEnv->FsSession(), iBCLogFilePath, EFileWrite) != KErrNone) |
1034 { |
1034 { |
1035 iEnv->FsSession().MkDirAll(iLogFilePath); |
1035 iEnv->FsSession().MkDirAll(iLogFilePath); |
1036 iBCLogFile.Replace(iEnv->FsSession(), iBCLogFilePath, EFileWrite); |
1036 User::LeaveIfError( iBCLogFile.Replace(iEnv->FsSession(), iBCLogFilePath, EFileWrite) ); |
1037 } |
1037 } |
1038 else |
1038 else |
1039 { |
1039 { |
1040 // file opens correctly, seek to the end |
1040 // file opens correctly, seek to the end |
1041 TInt fileSize=0; |
1041 TInt fileSize=0; |
1097 // --------------------------------------------------------------------------- |
1097 // --------------------------------------------------------------------------- |
1098 |
1098 |
1099 void CLauncherEngine::CancelBCAnalysis() |
1099 void CLauncherEngine::CancelBCAnalysis() |
1100 { |
1100 { |
1101 LOGSTRING("Launcher: CLauncherEngine::CancelBCAnalysis"); |
1101 LOGSTRING("Launcher: CLauncherEngine::CancelBCAnalysis"); |
1102 iXMLParser->Cancel(); |
1102 if( iXMLParser ) |
|
1103 { |
|
1104 iXMLParser->Cancel(); |
|
1105 } |
1103 iLauncherUI->PrintText(_L("\nAnalysis cancelled.\n\n")); |
1106 iLauncherUI->PrintText(_L("\nAnalysis cancelled.\n\n")); |
1104 |
1107 WriteInitialStuffToTheLogL(_L("Analysis cancelled by user"), iBCLogFile); |
|
1108 iLogWriteBuf->Des().Zero(); |
|
1109 iBCLogFile.Close(); |
1105 } |
1110 } |
1106 |
1111 |
1107 // --------------------------------------------------------------------------- |
1112 // --------------------------------------------------------------------------- |
1108 |
1113 |
1109 void CLauncherEngine::DoCompareDLLListsL() |
1114 void CLauncherEngine::DoCompareDLLListsL() |