Merge RCL_3 fixes with latest delivery. RCL_3
authorsrilekhas <srilekhas@symbian.org>
Mon, 23 Aug 2010 15:23:54 +0100
branchRCL_3
changeset 27 19f74a1096d4
parent 26 e5e3f539dd55 (current diff)
parent 16 2b9101578f5e (diff)
child 31 e818d2a017cc
Merge RCL_3 fixes with latest delivery.
gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp
--- a/gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp	Thu Jul 15 19:16:20 2010 +0300
+++ b/gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp	Mon Aug 23 15:23:54 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");