# HG changeset patch # User William Roberts # Date 1265649611 0 # Node ID 53df912d30f436c7e26f1ebe267a0b156d1904ac # Parent f453ebb7537068ff45fa3e55d618a7caafd0a66b Added debugging info to mifconv.exe 'Bug 1414 - mifconv system() call to svgtbinencode seems to have a timing issue with Raptor 2.9.2+', which seems to alleviate the symptoms... diff -r f453ebb75370 -r 53df912d30f4 gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp --- a/gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp Tue Feb 02 01:11:11 2010 +0200 +++ b/gfxconversion/mifconv/src/mifconv_iconbinaryconverter.cpp Mon Feb 08 17:20:11 2010 +0000 @@ -238,8 +238,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");