re-merge work-a-round for Bug 1414 RCL_3
authorandy simpson <andrews@symbian.org>
Mon, 25 Oct 2010 11:12:42 +0100
branchRCL_3
changeset 43 4bd2599cdfb5
parent 42 4af8d7519714 (current diff)
parent 31 e818d2a017cc (diff)
child 44 b4d0e228036c
re-merge work-a-round for Bug 1414
--- a/gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp	Wed Oct 13 15:10:45 2010 +0300
+++ b/gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp	Mon Oct 25 11:12:42 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");