# HG changeset patch # User andy simpson # Date 1283439172 -3600 # Node ID e818d2a017cc2220ca6c740cdcc6daf28b9cdd30 # Parent fcf0948c1bcec3d7215b367f8e4f8367e746ddaf# Parent 19f74a1096d40e3832ed17080dfdf03867c17927 Merge after removal of incorrect RCL_3 drop diff -r fcf0948c1bce -r e818d2a017cc gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp --- a/gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp Wed Sep 01 12:20:07 2010 +0100 +++ b/gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp Thu Sep 02 15:52:52 2010 +0100 @@ -247,7 +247,7 @@ // Build temp filename by replacing dir separator and ':' chars with '_': MifConvString tmpFileName(i->Filename()); ConvertToBinaryFilename(tmpFileName); - + // Copy source file to temp directory: MifConvString to(iTempDir + tmpFileName); if( MifConvUtil::CopyFile(i->Filename(), to) == false ) @@ -259,9 +259,11 @@ // enclosed with quotation marks. If the whole string is enclosed with quotation marks then it works... // For example: command '"\epoc32\tools\bmconv" "somefile"' does not work while command // '""\epoc32\tools\bmconv" "somefile""' does. - + cout << "Mifconvdebugging - executing" << MifConvString("\""+extConverterCommand+"\""+to+"\"\"").c_str() << endl; + if( system(MifConvString("\""+extConverterCommand+"\""+to+"\"\"").c_str()) < 0 ) { + cout << "Mifconvdebugging - failed to execute" << MifConvString("\""+extConverterCommand+"\""+to+"\"\"").c_str() << endl; int ernro = errno; // The error number must check straight away before any next system command MifConvString errStr("Executing SVGTBINENCODE failed");