cross-plat-dev-utils/patch-files/diffs/patch-0f5e3a7fb6af.patch
changeset 12 5e7562f67577
parent 9 67f8bb81b054
child 14 eb060913c963
equal deleted inserted replaced
11:d610106f78c9 12:5e7562f67577
     1 ## diff generated by diff_upstream.pl
     1 ## diff generated by diff_upstream.pl
     2 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.cpp
     2 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.cpp
     3 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.cpp	2010-05-13 19:14:19.380581789 +0100
     3 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.cpp	2010-05-13 19:14:19.380581789 +0100
     4 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.cpp	2010-05-12 14:13:31.601098351 +0100
     4 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.cpp	2010-05-15 14:32:45.000000000 +0100
     5 @@ -25,6 +25,7 @@
     5 @@ -25,6 +25,7 @@
     6  #include <iostream>
     6  #include <iostream>
     7  #include <iomanip>
     7  #include <iomanip>
     8  #include <cstdlib>
     8  #include <cstdlib>
     9 +#include <cstring>
     9 +#include <cstring>
    19  
    19  
    20      file.close();
    20      file.close();
    21  
    21  
    22 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.h
    22 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.h
    23 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.h	2010-05-13 19:14:19.380581789 +0100
    23 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.h	2010-05-13 19:14:19.380581789 +0100
    24 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.h	2010-05-12 14:13:33.625600203 +0100
    24 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.h	2010-05-15 14:32:45.000000000 +0100
    25 @@ -39,11 +39,12 @@
    25 @@ -39,11 +39,12 @@
    26      const char* _eat_obj_header(const char*, const char*, unsigned long*, const char* = 0) const;
    26      const char* _eat_obj_header(const char*, const char*, unsigned long*, const char* = 0) const;
    27  
    27  
    28  private:
    28  private:
    29 -    const char* m_mem_p;
    29 -    const char* m_mem_p;
    36      mutable std::vector<const char*> m_symbols;
    36      mutable std::vector<const char*> m_symbols;
    37      mutable std::vector< std::pair<const char*, const char*> > m_objects;
    37      mutable std::vector< std::pair<const char*, const char*> > m_objects;
    38  };
    38  };
    39 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/main.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/main.cpp
    39 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/main.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/main.cpp
    40 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/main.cpp	2010-05-13 19:14:19.380581789 +0100
    40 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/main.cpp	2010-05-13 19:14:19.380581789 +0100
    41 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/main.cpp	2010-05-08 15:36:26.000000000 +0100
    41 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/main.cpp	2010-05-15 16:32:57.000000000 +0100
    42 @@ -22,6 +22,7 @@
    42 @@ -22,6 +22,8 @@
    43  #include <sstream>
    43  #include <sstream>
    44  #include <iostream>
    44  #include <iostream>
    45  #include <stdexcept>
    45  #include <stdexcept>
    46 +#include <cstring>
    46 +#include <cstring>
       
    47 +#include <cstdlib>
    47  
    48  
    48  
    49  
    49  const char SELF_NAME[] = "checklib";
    50  const char SELF_NAME[] = "checklib";
    50 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/coff_object.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/coff_object.cpp
    51 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/coff_object.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/coff_object.cpp
    51 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/coff_object.cpp	2010-05-13 19:14:19.384582019 +0100
    52 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/coff_object.cpp	2010-05-13 19:14:19.384582019 +0100
    52 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/coff_object.cpp	2010-05-08 15:38:08.000000000 +0100
    53 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/coff_object.cpp	2010-05-15 14:32:45.000000000 +0100
    53 @@ -21,6 +21,7 @@
    54 @@ -21,6 +21,7 @@
    54  
    55  
    55  #include <algorithm>
    56  #include <algorithm>
    56  #include <functional>
    57  #include <functional>
    57 +#include <cstring>
    58 +#include <cstring>
    58  
    59  
    59  Coff_object::Coff_object(const char* p1, const char* p2)
    60  Coff_object::Coff_object(const char* p1, const char* p2)
    60  {
    61  {
    61 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/elf_object.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/elf_object.cpp
    62 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/elf_object.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/elf_object.cpp
    62 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/elf_object.cpp	2010-05-13 19:14:19.384582019 +0100
    63 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/elf_object.cpp	2010-05-13 19:14:19.384582019 +0100
    63 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/elf_object.cpp	2010-05-08 15:37:34.000000000 +0100
    64 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/elf_object.cpp	2010-05-15 14:32:45.000000000 +0100
    64 @@ -22,6 +22,7 @@
    65 @@ -22,6 +22,7 @@
    65  
    66  
    66  #include <algorithm>
    67  #include <algorithm>
    67  #include <functional>
    68  #include <functional>
    68 +#include <cstring>
    69 +#include <cstring>
    69  
    70  
    70  Elf_object::Elf_object(const char* p1, const char* p2)
    71  Elf_object::Elf_object(const char* p1, const char* p2)
    71  {
    72  {
    72 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/localise.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/localise.cpp
    73 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/localise.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/localise.cpp
    73 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/localise.cpp	2010-05-13 19:14:19.424582009 +0100
    74 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/localise.cpp	2010-05-13 19:14:19.424582009 +0100
    74 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/localise.cpp	2010-05-08 15:38:52.000000000 +0100
    75 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/localise.cpp	2010-05-15 14:32:45.000000000 +0100
    75 @@ -27,9 +27,11 @@
    76 @@ -27,9 +27,11 @@
    76  #pragma warning( disable : 4530 )	// function not inlined.
    77  #pragma warning( disable : 4530 )	// function not inlined.
    77  #endif
    78  #endif
    78  
    79  
    79 -#include <stdio.h>   
    80 -#include <stdio.h>   
   102  	ofstream outputFile(LocalisationOutputFileName);
   103  	ofstream outputFile(LocalisationOutputFileName);
   103  
   104  
   104  	String fileLine("");
   105  	String fileLine("");
   105 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcomp.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcomp.cpp
   106 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcomp.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcomp.cpp
   106 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcomp.cpp	2010-05-13 19:14:19.428582169 +0100
   107 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcomp.cpp	2010-05-13 19:14:19.428582169 +0100
   107 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcomp.cpp	2010-05-08 15:41:18.000000000 +0100
   108 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcomp.cpp	2010-05-15 14:32:45.000000000 +0100
   108 @@ -90,8 +90,8 @@
   109 @@ -90,8 +90,8 @@
   109  #pragma warning( disable : 4244 ) // C4244: '=' : conversion from 'int' to 'short', possible loss of data
   110  #pragma warning( disable : 4244 ) // C4244: '=' : conversion from 'int' to 'short', possible loss of data
   110  #endif //__VC32__
   111  #endif //__VC32__
   111  
   112  
   112 -#include "resource.h"
   113 -#include "resource.h"
   139  #include "localise.h"
   140  #include "localise.h"
   140  #include "main.h"
   141  #include "main.h"
   141  
   142  
   142 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcompl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcompl.cpp
   143 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcompl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcompl.cpp
   143 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcompl.cpp	2010-05-13 19:14:19.428582169 +0100
   144 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcompl.cpp	2010-05-13 19:14:19.428582169 +0100
   144 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcompl.cpp	2010-05-08 15:40:00.000000000 +0100
   145 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcompl.cpp	2010-05-15 14:32:45.000000000 +0100
   145 @@ -662,8 +662,8 @@
   146 @@ -662,8 +662,8 @@
   146  #include <limits.h>
   147  #include <limits.h>
   147  #include <string.h>
   148  #include <string.h>
   148  #include "main.h"
   149  #include "main.h"
   149 -#include "structst.h"
   150 -#include "structst.h"
   171  
   172  
   172  #define REGISTER_LINE	ErrorHandler::Register(pFileLineHandler->GetCurrentFile(), pFileLineHandler->GetErrorLine(* pCurrentLineNumber))
   173  #define REGISTER_LINE	ErrorHandler::Register(pFileLineHandler->GetCurrentFile(), pFileLineHandler->GetErrorLine(* pCurrentLineNumber))
   173  
   174  
   174 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.LEX /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.LEX
   175 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.LEX /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.LEX
   175 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.LEX	2010-05-13 19:14:19.420582828 +0100
   176 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.LEX	2010-05-13 19:14:19.420582828 +0100
   176 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.LEX	2010-05-08 15:45:48.000000000 +0100
   177 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.LEX	2010-05-15 14:32:45.000000000 +0100
   177 @@ -20,9 +20,9 @@
   178 @@ -20,9 +20,9 @@
   178  #include <limits.h>
   179  #include <limits.h>
   179  #include <string.h>
   180  #include <string.h>
   180  #include "main.h"
   181  #include "main.h"
   181 -#include "structst.h"
   182 -#include "structst.h"
   196  
   197  
   197  #define REGISTER_LINE	ErrorHandler::Register(pFileLineHandler->GetCurrentFile(), pFileLineHandler->GetErrorLine(* pCurrentLineNumber))
   198  #define REGISTER_LINE	ErrorHandler::Register(pFileLineHandler->GetCurrentFile(), pFileLineHandler->GetErrorLine(* pCurrentLineNumber))
   198  
   199  
   199 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.YACC /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.YACC
   200 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.YACC /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.YACC
   200 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.YACC	2010-05-13 19:14:19.424582009 +0100
   201 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.YACC	2010-05-13 19:14:19.424582009 +0100
   201 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.YACC	2010-05-08 15:47:00.000000000 +0100
   202 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.YACC	2010-05-15 14:32:45.000000000 +0100
   202 @@ -35,8 +35,8 @@
   203 @@ -35,8 +35,8 @@
   203  #pragma warning( disable : 4244 ) // C4244: '=' : conversion from 'int' to 'short', possible loss of data
   204  #pragma warning( disable : 4244 ) // C4244: '=' : conversion from 'int' to 'short', possible loss of data
   204  #endif //__VC32__
   205  #endif //__VC32__
   205  
   206  
   206 -#include "resource.h"
   207 -#include "resource.h"
   251 -../com.nokia.sysbuild_0.1.jar /plugins/com.nokia.sysbuild_0.1.jar
   252 -../com.nokia.sysbuild_0.1.jar /plugins/com.nokia.sysbuild_0.1.jar
   252 \ No newline at end of file
   253 \ No newline at end of file
   253 +../com.nokia.sysbuild_0.1.jar ../../plugins/com.nokia.sysbuild_0.1.jar
   254 +../com.nokia.sysbuild_0.1.jar ../../plugins/com.nokia.sysbuild_0.1.jar
   254 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image/deflate/deflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/e32image/deflate/deflate.cpp
   255 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image/deflate/deflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/e32image/deflate/deflate.cpp
   255 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image/deflate/deflate.cpp	2010-05-13 19:14:22.504583518 +0100
   256 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image/deflate/deflate.cpp	2010-05-13 19:14:22.504583518 +0100
   256 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/e32image/deflate/deflate.cpp	2010-05-08 14:35:02.000000000 +0100
   257 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/e32image/deflate/deflate.cpp	2010-05-15 14:32:45.000000000 +0100
   257 @@ -87,7 +87,7 @@
   258 @@ -87,7 +87,7 @@
   258  
   259  
   259  inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
   260  inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
   260  	{
   261  	{
   261 -	return new(HMem::Alloc(0,_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
   262 -	return new(HMem::Alloc(0,_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
   264  
   265  
   265  inline TInt HDeflateHash::Hash(const TUint8* aPtr)
   266  inline TInt HDeflateHash::Hash(const TUint8* aPtr)
   266 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image: Makefile.elftran.bak
   267 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image: Makefile.elftran.bak
   267 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/group/seclib.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/group/seclib.mmp
   268 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/group/seclib.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/group/seclib.mmp
   268 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/group/seclib.mmp	2010-05-13 19:14:22.512581742 +0100
   269 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/group/seclib.mmp	2010-05-13 19:14:22.512581742 +0100
   269 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/group/seclib.mmp	2010-05-08 14:34:04.000000000 +0100
   270 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/group/seclib.mmp	2010-05-15 14:32:45.000000000 +0100
   270 @@ -45,8 +45,11 @@
   271 @@ -45,8 +45,11 @@
   271  userinclude     ../setcap 
   272  userinclude     ../setcap 
   272  userinclude     ../../e32lib/e32image/inc
   273  userinclude     ../../e32lib/e32image/inc
   273  systeminclude   /epoc32/include
   274  systeminclude   /epoc32/include
   274 +systeminclude    /epoc32/include/platform
   275 +systeminclude    /epoc32/include/platform
   279  
   280  
   280  //macro __PLACEMENT_NEW_INLINE
   281  //macro __PLACEMENT_NEW_INLINE
   281  //macro __PLACEMENT_VEC_NEW_INLINE
   282  //macro __PLACEMENT_VEC_NEW_INLINE
   282 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/group/elf2e32.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/group/elf2e32.mmp
   283 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/group/elf2e32.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/group/elf2e32.mmp
   283 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/group/elf2e32.mmp	2010-05-13 19:14:22.512581742 +0100
   284 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/group/elf2e32.mmp	2010-05-13 19:14:22.512581742 +0100
   284 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/group/elf2e32.mmp	2010-05-08 14:17:32.000000000 +0100
   285 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/group/elf2e32.mmp	2010-05-15 14:32:45.000000000 +0100
   285 @@ -28,7 +28,9 @@
   286 @@ -28,7 +28,9 @@
   286  source	 	byte_pair.cpp  pagedcompress.cpp checksum.cpp stdexe_target.cpp
   287  source	 	byte_pair.cpp  pagedcompress.cpp checksum.cpp stdexe_target.cpp
   287  
   288  
   288  systeminclude    /epoc32/include  /epoc32/include/tools  
   289  systeminclude    /epoc32/include  /epoc32/include/tools  
   289 +systeminclude    /epoc32/include/platform
   290 +systeminclude    /epoc32/include/platform
   292  
   293  
   293  option 	GCC -w
   294  option 	GCC -w
   294  
   295  
   295 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deffile.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deffile.cpp
   296 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deffile.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deffile.cpp
   296 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deffile.cpp	2010-05-13 19:14:22.516582251 +0100
   297 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deffile.cpp	2010-05-13 19:14:22.516582251 +0100
   297 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deffile.cpp	2010-05-08 14:31:46.000000000 +0100
   298 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deffile.cpp	2010-05-15 14:32:45.000000000 +0100
   298 @@ -18,9 +18,11 @@
   299 @@ -18,9 +18,11 @@
   299  //
   300  //
   300  
   301  
   301  //
   302  //
   302 -#include <stdio.h>
   303 -#include <stdio.h>
   309  
   310  
   310  #include "pl_symbol.h"
   311  #include "pl_symbol.h"
   311  #include "deffile.h"
   312  #include "deffile.h"
   312 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deflatecompress.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deflatecompress.cpp
   313 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deflatecompress.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deflatecompress.cpp
   313 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deflatecompress.cpp	2010-05-13 19:14:22.516582251 +0100
   314 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deflatecompress.cpp	2010-05-13 19:14:22.516582251 +0100
   314 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deflatecompress.cpp	2010-05-08 14:25:12.000000000 +0100
   315 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deflatecompress.cpp	2010-05-15 14:32:45.000000000 +0100
   315 @@ -126,7 +126,8 @@
   316 @@ -126,7 +126,8 @@
   316  inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
   317  inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
   317  {
   318  {
   318  	//return new(HMem::Alloc(0,_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
   319  	//return new(HMem::Alloc(0,_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
   319 -	return new(new char[_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)])]) HDeflateHash;
   320 -	return new(new char[_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)])]) HDeflateHash;
   322  }
   323  }
   323  
   324  
   324  /**
   325  /**
   325 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32exporttable.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32exporttable.cpp
   326 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32exporttable.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32exporttable.cpp
   326 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32exporttable.cpp	2010-05-13 19:14:22.516582251 +0100
   327 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32exporttable.cpp	2010-05-13 19:14:22.516582251 +0100
   327 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32exporttable.cpp	2010-05-08 14:18:16.000000000 +0100
   328 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32exporttable.cpp	2010-05-15 14:32:45.000000000 +0100
   328 @@ -18,6 +18,7 @@
   329 @@ -18,6 +18,7 @@
   329  #include "pl_elfexports.h"
   330  #include "pl_elfexports.h"
   330  #include "pl_dllsymbol.h"
   331  #include "pl_dllsymbol.h"
   331  #include "pl_elflocalrelocation.h"
   332  #include "pl_elflocalrelocation.h"
   332 +#include <cstring>
   333 +#include <cstring>
   333  
   334  
   334  /**
   335  /**
   335  Destructor for E32ExportTable class.
   336  Destructor for E32ExportTable class.
   336 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32imagefile.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32imagefile.cpp
   337 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32imagefile.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32imagefile.cpp
   337 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32imagefile.cpp	2010-05-13 19:14:22.520581921 +0100
   338 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32imagefile.cpp	2010-05-13 19:14:22.520581921 +0100
   338 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32imagefile.cpp	2010-05-08 14:20:20.000000000 +0100
   339 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32imagefile.cpp	2010-05-15 14:32:45.000000000 +0100
   339 @@ -21,6 +21,7 @@
   340 @@ -21,6 +21,7 @@
   340  
   341  
   341  // get E32ImageHeader class...
   342  // get E32ImageHeader class...
   342  #define INCLUDE_E32IMAGEHEADER_IMPLEMENTATION
   343  #define INCLUDE_E32IMAGEHEADER_IMPLEMENTATION
   343 +#include <cstdio>
   344 +#include <cstdio>
   392  
   393  
   393  	// At the end, the dependencies are listed. They remain zeroes and shall be fixed up
   394  	// At the end, the dependencies are listed. They remain zeroes and shall be fixed up
   394  	// while relocating.
   395  	// while relocating.
   395 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/elffilesupplied.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/elffilesupplied.cpp
   396 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/elffilesupplied.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/elffilesupplied.cpp
   396 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/elffilesupplied.cpp	2010-05-13 19:14:22.520581921 +0100
   397 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/elffilesupplied.cpp	2010-05-13 19:14:22.520581921 +0100
   397 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/elffilesupplied.cpp	2010-05-08 14:22:14.000000000 +0100
   398 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/elffilesupplied.cpp	2010-05-15 14:32:45.000000000 +0100
   398 @@ -25,7 +25,15 @@
   399 @@ -25,7 +25,15 @@
   399  
   400  
   400  #include <algorithm>
   401  #include <algorithm>
   401  #include <iostream>
   402  #include <iostream>
   402 -#include<hash_set>
   403 -#include<hash_set>
   430      = aSymbolSet.find(aSymbol);
   431      = aSymbolSet.find(aSymbol);
   431    if(it != aSymbolSet.end())
   432    if(it != aSymbolSet.end())
   432  	return 1;
   433  	return 1;
   433 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/errorhandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/errorhandler.cpp
   434 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/errorhandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/errorhandler.cpp
   434 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/errorhandler.cpp	2010-05-13 19:14:22.520581921 +0100
   435 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/errorhandler.cpp	2010-05-13 19:14:22.520581921 +0100
   435 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/errorhandler.cpp	2010-05-08 14:24:02.000000000 +0100
   436 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/errorhandler.cpp	2010-05-15 14:32:45.000000000 +0100
   436 @@ -26,7 +26,9 @@
   437 @@ -26,7 +26,9 @@
   437  #include "errorhandler.h"
   438  #include "errorhandler.h"
   438  #include "messagehandler.h"
   439  #include "messagehandler.h"
   439  #include <iostream>
   440  #include <iostream>
   440 -#include <stdio.h>
   441 -#include <stdio.h>
   444  using std::cerr;
   445  using std::cerr;
   445  using std::endl;
   446  using std::endl;
   446  
   447  
   447 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/huffman.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/huffman.cpp
   448 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/huffman.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/huffman.cpp
   448 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/huffman.cpp	2010-05-13 19:14:22.528582030 +0100
   449 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/huffman.cpp	2010-05-13 19:14:22.528582030 +0100
   449 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/huffman.cpp	2010-05-08 14:25:08.000000000 +0100
   450 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/huffman.cpp	2010-05-15 14:32:45.000000000 +0100
   450 @@ -22,6 +22,7 @@
   451 @@ -22,6 +22,7 @@
   451  #endif
   452  #endif
   452  
   453  
   453  #include <cassert>
   454  #include <cassert>
   454 +#include <cstring>
   455 +#include <cstring>
   455  #include "huffman.h"
   456  #include "huffman.h"
   456  #include "errorhandler.h"
   457  #include "errorhandler.h"
   457  #include "farray.h"
   458  #include "farray.h"
   458 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/h_utl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/h_utl.cpp
   459 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/h_utl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/h_utl.cpp
   459 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/h_utl.cpp	2010-05-13 19:14:22.524582150 +0100
   460 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/h_utl.cpp	2010-05-13 19:14:22.524582150 +0100
   460 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/h_utl.cpp	2010-05-08 14:33:02.000000000 +0100
   461 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/h_utl.cpp	2010-05-15 14:32:45.000000000 +0100
   461 @@ -17,8 +17,9 @@
   462 @@ -17,8 +17,9 @@
   462  // 
   463  // 
   463  //
   464  //
   464  
   465  
   465 -#include <stdlib.h>
   466 -#include <stdlib.h>
   471  
   472  
   472  /**
   473  /**
   473 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source: h_utl.h.bak
   474 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source: h_utl.h.bak
   474 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/inflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/inflate.cpp
   475 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/inflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/inflate.cpp
   475 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/inflate.cpp	2010-05-13 19:14:22.528582030 +0100
   476 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/inflate.cpp	2010-05-13 19:14:22.528582030 +0100
   476 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/inflate.cpp	2010-05-08 14:25:46.000000000 +0100
   477 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/inflate.cpp	2010-05-15 14:32:45.000000000 +0100
   477 @@ -23,6 +23,8 @@
   478 @@ -23,6 +23,8 @@
   478  #include "farray.h"
   479  #include "farray.h"
   479  #include "errorhandler.h"
   480  #include "errorhandler.h"
   480  #include<iostream>
   481  #include<iostream>
   481 +#include <cstring>
   482 +#include <cstring>
   482 +
   483 +
   483  using std::cout;
   484  using std::cout;
   484  
   485  
   485  /*
   486  /*
       
   487 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/librarytarget.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/librarytarget.cpp
       
   488 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/librarytarget.cpp	2010-05-13 19:14:22.528582030 +0100
       
   489 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/librarytarget.cpp	2010-05-15 16:38:11.000000000 +0100
       
   490 @@ -21,6 +21,7 @@
       
   491  #include "pl_dso_handler.h"
       
   492  #include "deffile.h"
       
   493  #include <iostream>
       
   494 +#include <cstdlib>
       
   495  
       
   496  /**
       
   497  Constructor for the Library Class
   486 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/messageimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/messageimplementation.cpp
   498 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/messageimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/messageimplementation.cpp
   487 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/messageimplementation.cpp	2010-05-13 19:14:22.532582119 +0100
   499 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/messageimplementation.cpp	2010-05-13 19:14:22.532582119 +0100
   488 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/messageimplementation.cpp	2010-05-08 14:33:34.000000000 +0100
   500 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/messageimplementation.cpp	2010-05-15 16:37:05.000000000 +0100
   489 @@ -23,7 +23,8 @@
   501 @@ -23,7 +23,9 @@
   490  #include<iostream>
   502  #include<iostream>
   491  #include<stdarg.h>
   503  #include<stdarg.h>
   492  #include<string>
   504  #include<string>
   493 -#include <stdio.h>
   505 -#include <stdio.h>
   494 +#include <cstring>
   506 +#include <cstring>
       
   507 +#include <cstdlib>
   495 +
   508 +
   496  
   509  
   497  using std::endl;
   510  using std::endl;
   498  using std::cout;
   511  using std::cout;
   499 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.cpp
   512 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.cpp
   500 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.cpp	2010-05-13 19:14:22.532582119 +0100
   513 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.cpp	2010-05-13 19:14:22.532582119 +0100
   501 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.cpp	2010-05-12 14:24:20.025099230 +0100
   514 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.cpp	2010-05-15 16:38:48.000000000 +0100
   502 @@ -647,7 +647,7 @@
   515 @@ -25,6 +25,7 @@
       
   516  #include "parametermanager.h"
       
   517  #include "errorhandler.h"
       
   518  #include <iostream>
       
   519 +#include <cstdlib>
       
   520  
       
   521  #include "h_utl.h"
       
   522  #include "h_ver.h"
       
   523 @@ -647,7 +648,7 @@
   503  			parser(this, "help", 0, 0);
   524  			parser(this, "help", 0, 0);
   504  		}
   525  		}
   505  
   526  
   506 -		parser(this, const_cast<char*>(aName.c_str()), optval, aDesc);
   527 -		parser(this, const_cast<char*>(aName.c_str()), optval, aDesc);
   507 +		parser(this, aName.c_str(), optval, aDesc);
   528 +		parser(this, aName.c_str(), optval, aDesc);
   508  	}
   529  	}
   509  }
   530  }
   510  
   531  
   511 @@ -2247,7 +2247,7 @@
   532 @@ -2247,7 +2248,7 @@
   512  		{
   533  		{
   513  			int len = nq;
   534  			int len = nq;
   514  			symbol = new char[len+1];
   535  			symbol = new char[len+1];
   515 -			memcpy(symbol, p, len);
   536 -			memcpy(symbol, p, len);
   516 +			memcpy(symbol, &*p, len);
   537 +			memcpy(symbol, &*p, len);
   517  			symbol[len] = 0;
   538  			symbol[len] = 0;
   518  			q = nq+1;
   539  			q = nq+1;
   519  
   540  
   520 @@ -2387,7 +2387,7 @@
   541 @@ -2387,7 +2388,7 @@
   521  			if (*e == '-' || *e == '+') break;
   542  			if (*e == '-' || *e == '+') break;
   522  		}
   543  		}
   523  		if (e != b)
   544  		if (e != b)
   524 -			ParseCapability1(b, e, aCapabilities, invert);
   545 -			ParseCapability1(b, e, aCapabilities, invert);
   525 +			ParseCapability1(&*b, &*e, aCapabilities, invert);
   546 +			ParseCapability1(&*b, &*e, aCapabilities, invert);
   526  
   547  
   527  		b = e;
   548  		b = e;
   528  		
   549  		
   529 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.h
   550 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.h
   530 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.h	2010-05-13 19:14:22.532582119 +0100
   551 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.h	2010-05-13 19:14:22.532582119 +0100
   531 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.h	2010-05-12 14:23:46.225599591 +0100
   552 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.h	2010-05-15 14:32:45.000000000 +0100
   532 @@ -81,7 +81,7 @@
   553 @@ -81,7 +81,7 @@
   533  	typedef std::map<string, const OptionDesc *, OptionCompare> OptionMap;
   554  	typedef std::map<string, const OptionDesc *, OptionCompare> OptionMap;
   534  	typedef vector<char *> LibSearchPaths;
   555  	typedef vector<char *> LibSearchPaths;
   535  
   556  
   536 -	typedef void (*ParserFn)(ParameterManager *, char *, char *, const OptionDesc *);
   557 -	typedef void (*ParserFn)(ParameterManager *, char *, char *, const OptionDesc *);
   538  
   559  
   539  
   560  
   540  	#define DECLARE_PARAM_PARSER(name) \
   561  	#define DECLARE_PARAM_PARSER(name) \
   541 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexecutable.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexecutable.h
   562 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexecutable.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexecutable.h
   542 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexecutable.h	2010-05-13 19:14:22.536582488 +0100
   563 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexecutable.h	2010-05-13 19:14:22.536582488 +0100
   543 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexecutable.h	2010-05-08 14:31:06.000000000 +0100
   564 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexecutable.h	2010-05-15 14:32:45.000000000 +0100
   544 @@ -22,13 +22,19 @@
   565 @@ -22,13 +22,19 @@
   545  
   566  
   546  #include "pl_common.h"
   567  #include "pl_common.h"
   547  #include <list>
   568  #include <list>
   548 -#include <hash_map>
   569 -#include <hash_map>
   572  
   593  
   573  	/**
   594  	/**
   574  	 * The static symbol table.
   595  	 * The static symbol table.
   575 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexports.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexports.cpp
   596 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexports.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexports.cpp
   576 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexports.cpp	2010-05-13 19:14:22.536582488 +0100
   597 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexports.cpp	2010-05-13 19:14:22.536582488 +0100
   577 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexports.cpp	2010-05-08 14:20:44.000000000 +0100
   598 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexports.cpp	2010-05-15 14:32:45.000000000 +0100
   578 @@ -20,6 +20,7 @@
   599 @@ -20,6 +20,7 @@
   579  #include "pl_elfexports.h"
   600  #include "pl_elfexports.h"
   580  #include "pl_elfexecutable.h"
   601  #include "pl_elfexecutable.h"
   581  #include "pl_dllsymbol.h"
   602  #include "pl_dllsymbol.h"
   582 +#include <cstring>
   603 +#include <cstring>
   583  
   604  
   584  using std::set_difference;
   605  using std::set_difference;
   585  
   606  
   586 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfimports.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfimports.cpp
   607 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfimports.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfimports.cpp
   587 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfimports.cpp	2010-05-13 19:14:22.536582488 +0100
   608 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfimports.cpp	2010-05-13 19:14:22.536582488 +0100
   588 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfimports.cpp	2010-05-08 14:32:18.000000000 +0100
   609 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfimports.cpp	2010-05-15 14:32:45.000000000 +0100
   589 @@ -19,6 +19,7 @@
   610 @@ -19,6 +19,7 @@
   590  
   611  
   591  #include "pl_elfimports.h"
   612  #include "pl_elfimports.h"
   592  #include "pl_elfimportrelocation.h"
   613  #include "pl_elfimportrelocation.h"
   593 +#include <cstring>
   614 +#include <cstring>
   594  
   615  
   595  /**
   616  /**
   596  Constructor for class ElfImports
   617  Constructor for class ElfImports
   597 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfproducer.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfproducer.cpp
   618 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfproducer.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfproducer.cpp
   598 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfproducer.cpp	2010-05-13 19:14:22.540581739 +0100
   619 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfproducer.cpp	2010-05-13 19:14:22.540581739 +0100
   599 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfproducer.cpp	2010-05-08 14:23:30.000000000 +0100
   620 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfproducer.cpp	2010-05-15 14:32:45.000000000 +0100
   600 @@ -22,6 +22,7 @@
   621 @@ -22,6 +22,7 @@
   601  #include <stdio.h>
   622  #include <stdio.h>
   602  #include <string>
   623  #include <string>
   603  #include "errorhandler.h"
   624  #include "errorhandler.h"
   604 +#include <cstring>
   625 +#include <cstring>
   605  
   626  
   606  /**
   627  /**
   607   * Following array is indexed on the SECTION_INDEX enum 
   628   * Following array is indexed on the SECTION_INDEX enum 
   608 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_symbol.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_symbol.cpp
   629 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_symbol.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_symbol.cpp
   609 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_symbol.cpp	2010-05-13 19:14:22.544581968 +0100
   630 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_symbol.cpp	2010-05-13 19:14:22.544581968 +0100
   610 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_symbol.cpp	2010-05-08 14:18:40.000000000 +0100
   631 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_symbol.cpp	2010-05-15 14:32:45.000000000 +0100
   611 @@ -18,6 +18,7 @@
   632 @@ -18,6 +18,7 @@
   612  //
   633  //
   613  
   634  
   614  #include "pl_symbol.h"
   635  #include "pl_symbol.h"
   615 +#include <cstring>
   636 +#include <cstring>
   620 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: featuredatabase.dtd.bak
   641 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: featuredatabase.dtd.bak
   621 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: featureuids.dtd.bak
   642 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: featureuids.dtd.bak
   622 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: imageContent.dtd.bak
   643 Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: imageContent.dtd.bak
   623 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/bld.inf /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/bld.inf
   644 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/bld.inf /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/bld.inf
   624 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/bld.inf	2010-05-13 19:14:22.580581863 +0100
   645 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/bld.inf	2010-05-13 19:14:22.580581863 +0100
   625 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/bld.inf	2010-05-08 15:25:20.000000000 +0100
   646 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/bld.inf	2010-05-15 14:32:45.000000000 +0100
   626 @@ -21,8 +21,10 @@
   647 @@ -21,8 +21,10 @@
   627  
   648  
   628  // These libraries needs to be exported
   649  // These libraries needs to be exported
   629  PRJ_EXPORTS
   650  PRJ_EXPORTS
   630 +#ifndef TOOLS2_LINUX
   651 +#ifndef TOOLS2_LINUX
   634  ../src/imgcheck.xsl			/epoc32/tools/imgcheck.xsl
   655  ../src/imgcheck.xsl			/epoc32/tools/imgcheck.xsl
   635  ./imgcheck.pl				/epoc32/tools/imgcheck.pl
   656  ./imgcheck.pl				/epoc32/tools/imgcheck.pl
   636  ./imgcheck.cmd				/epoc32/tools/imgcheck.cmd
   657  ./imgcheck.cmd				/epoc32/tools/imgcheck.cmd
   637 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/imgcheck.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/imgcheck.mmp
   658 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/imgcheck.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/imgcheck.mmp
   638 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/imgcheck.mmp	2010-05-13 19:14:22.580581863 +0100
   659 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/imgcheck.mmp	2010-05-13 19:14:22.580581863 +0100
   639 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/imgcheck.mmp	2010-05-08 17:31:00.000000000 +0100
   660 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/imgcheck.mmp	2010-05-15 16:53:48.000000000 +0100
   640 @@ -25,17 +25,24 @@
   661 @@ -25,17 +25,24 @@
   641  SOURCE		exceptionimplementation.cpp exceptionreporter.cpp
   662  SOURCE		exceptionimplementation.cpp exceptionreporter.cpp
   642  SOURCE 		cmdlinewriter.cpp xmlwriter.cpp dbgflagchecker.cpp
   663  SOURCE 		cmdlinewriter.cpp xmlwriter.cpp dbgflagchecker.cpp
   643  USERINCLUDE ../libimgutils/inc ../inc ../../imglib/compress
   664  USERINCLUDE ../libimgutils/inc ../inc ../../imglib/compress
   644 +#ifndef TOOLS2_LINUX
   665 +#ifndef TOOLS2_LINUX
   665  #else
   686  #else
   666  STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
   687  STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
   667  OPTION    GCC -mthreads -O2 -Wno-uninitialized
   688  OPTION    GCC -mthreads -O2 -Wno-uninitialized
   668 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/cmdlinehandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/cmdlinehandler.h
   689 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/cmdlinehandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/cmdlinehandler.h
   669 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/cmdlinehandler.h	2010-05-13 19:14:22.805083364 +0100
   690 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/cmdlinehandler.h	2010-05-13 19:14:22.805083364 +0100
   670 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/cmdlinehandler.h	2010-05-08 15:31:40.000000000 +0100
   691 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/cmdlinehandler.h	2010-05-15 14:32:45.000000000 +0100
   671 @@ -120,7 +120,7 @@
   692 @@ -120,7 +120,7 @@
   672  @internalComponent
   693  @internalComponent
   673  @released
   694  @released
   674  */
   695  */
   675 -typedef enum Suppress
   696 -typedef enum Suppress
   686  {
   707  {
   687      ENone = 0x0,
   708      ENone = 0x0,
   688      ESingle = 0x1,
   709      ESingle = 0x1,
   689 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/common.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/common.h
   710 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/common.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/common.h
   690 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/common.h	2010-05-13 19:14:22.805083364 +0100
   711 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/common.h	2010-05-13 19:14:22.805083364 +0100
   691 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/common.h	2010-05-08 15:30:02.000000000 +0100
   712 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/common.h	2010-05-15 14:32:45.000000000 +0100
   692 @@ -86,7 +86,7 @@
   713 @@ -86,7 +86,7 @@
   693  @internalComponent
   714  @internalComponent
   694  @released
   715  @released
   695  */
   716  */
   696 -typedef enum ReturnType
   717 -typedef enum ReturnType
   698  {
   719  {
   699  	ESuccess = 0,
   720  	ESuccess = 0,
   700  	EQuit,
   721  	EQuit,
   701 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/exceptionimplementation.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/exceptionimplementation.h
   722 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/exceptionimplementation.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/exceptionimplementation.h
   702 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/exceptionimplementation.h	2010-05-13 19:14:22.805083364 +0100
   723 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/exceptionimplementation.h	2010-05-13 19:14:22.805083364 +0100
   703 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/exceptionimplementation.h	2010-05-08 15:30:50.000000000 +0100
   724 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/exceptionimplementation.h	2010-05-15 14:32:45.000000000 +0100
   704 @@ -91,7 +91,7 @@
   725 @@ -91,7 +91,7 @@
   705  struct Messages
   726  struct Messages
   706  {
   727  {
   707  	int iIndex;
   728  	int iIndex;
   708 -	char* iMessage;
   729 -	char* iMessage;
   719  	IndexVsMessageMap iMessage;
   740  	IndexVsMessageMap iMessage;
   720  	unsigned int iMsgIndex;
   741  	unsigned int iMsgIndex;
   721  	static unsigned int iCmdFlag;
   742  	static unsigned int iCmdFlag;
   722 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/xmlwriter.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/xmlwriter.h
   743 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/xmlwriter.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/xmlwriter.h
   723 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/xmlwriter.h	2010-05-13 19:14:22.809081638 +0100
   744 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/xmlwriter.h	2010-05-13 19:14:22.809081638 +0100
   724 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/xmlwriter.h	2010-05-08 15:32:40.000000000 +0100
   745 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/xmlwriter.h	2010-05-15 14:32:45.000000000 +0100
   725 @@ -24,7 +24,12 @@
   746 @@ -24,7 +24,12 @@
   726  #define XMLWRITER_H
   747  #define XMLWRITER_H
   727  
   748  
   728  #include "reportwriter.h"
   749  #include "reportwriter.h"
   729 -#include "libxml/xmlwriter.h"
   750 -#include "libxml/xmlwriter.h"
   745  	// Xml file name for output.
   766  	// Xml file name for output.
   746  	const String iXmlFileName;
   767  	const String iXmlFileName;
   747  	// Xml Buffer pointer.
   768  	// Xml Buffer pointer.
   748 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/romfsentry.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/romfsentry.h
   769 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/romfsentry.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/romfsentry.h
   749 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/romfsentry.h	2010-05-13 19:14:22.809081638 +0100
   770 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/romfsentry.h	2010-05-13 19:14:22.809081638 +0100
   750 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/romfsentry.h	2010-05-12 19:58:30.300831269 +0100
   771 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/romfsentry.h	2010-05-15 14:32:45.000000000 +0100
   751 @@ -32,7 +32,7 @@
   772 @@ -32,7 +32,7 @@
   752  class RomImageFSEntry 
   773  class RomImageFSEntry 
   753  {
   774  {
   754  public:
   775  public:
   755 -	RomImageFSEntry (char* aName) 
   776 -	RomImageFSEntry (char* aName) 
   766  	{
   787  	{
   767  	}
   788  	}
   768  	~RomImageDirEntry(void)
   789  	~RomImageDirEntry(void)
   769 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/typedefs.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/typedefs.h
   790 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/typedefs.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/typedefs.h
   770 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/typedefs.h	2010-05-13 19:14:22.809081638 +0100
   791 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/typedefs.h	2010-05-13 19:14:22.809081638 +0100
   771 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/typedefs.h	2010-05-08 15:36:00.000000000 +0100
   792 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/typedefs.h	2010-05-15 14:32:45.000000000 +0100
   772 @@ -28,8 +28,8 @@
   793 @@ -28,8 +28,8 @@
   773  
   794  
   774  #undef _L
   795  #undef _L
   775  
   796  
   776 -#include <fstream.h>
   797 -#include <fstream.h>
   803  {
   824  {
   804  	EUnknownImage,
   825  	EUnknownImage,
   805  	ERomImage,
   826  	ERomImage,
   806 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/dirreader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/dirreader.cpp
   827 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/dirreader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/dirreader.cpp
   807 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/dirreader.cpp	2010-05-13 19:14:22.813082775 +0100
   828 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/dirreader.cpp	2010-05-13 19:14:22.813082775 +0100
   808 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/dirreader.cpp	2010-05-08 15:34:42.000000000 +0100
   829 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/dirreader.cpp	2010-05-15 14:32:45.000000000 +0100
   809 @@ -119,9 +119,9 @@
   830 @@ -119,9 +119,9 @@
   810  void DirReader::ProcessImage()
   831  void DirReader::ProcessImage()
   811  {
   832  {
   812  	char* cwd = new char[MAXPATHLEN];
   833  	char* cwd = new char[MAXPATHLEN];
   813 -	getcwd(cwd,MAXPATHLEN);
   834 -	getcwd(cwd,MAXPATHLEN);
   828 +#endif
   849 +#endif
   829 + 
   850 + 
   830  	E32Image* e32Image = KNull;
   851  	E32Image* e32Image = KNull;
   831  
   852  
   832  #ifdef __LINUX__
   853  #ifdef __LINUX__
       
   854 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/e32reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/e32reader.cpp
       
   855 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/e32reader.cpp	2010-05-13 19:14:22.813082775 +0100
       
   856 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/e32reader.cpp	2010-05-15 16:45:25.000000000 +0100
       
   857 @@ -24,6 +24,7 @@
       
   858  
       
   859  #include "e32reader.h"
       
   860  #include <f32image.h>
       
   861 +#include <cstdlib>
       
   862  
       
   863  /** 
       
   864  Constructor.
   833 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinehandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinehandler.cpp
   865 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinehandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinehandler.cpp
   834 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinehandler.cpp	2010-05-13 19:14:22.856604788 +0100
   866 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinehandler.cpp	2010-05-13 19:14:22.856604788 +0100
   835 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinehandler.cpp	2010-05-08 15:21:44.000000000 +0100
   867 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinehandler.cpp	2010-05-15 14:32:45.000000000 +0100
   836 @@ -25,6 +25,7 @@
   868 @@ -25,6 +25,7 @@
   837  */
   869  */
   838  
   870  
   839  #include "cmdlinehandler.h"
   871  #include "cmdlinehandler.h"
   840 +#include <cstring>
   872 +#include <cstring>
   841  
   873  
   842  /**
   874  /**
   843  Constructor initializes the iOptionMap with short and long option names as key and
   875  Constructor initializes the iOptionMap with short and long option names as key and
   844 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinewriter.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinewriter.cpp
   876 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinewriter.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinewriter.cpp
   845 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinewriter.cpp	2010-05-13 19:14:22.856604788 +0100
   877 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinewriter.cpp	2010-05-13 19:14:22.856604788 +0100
   846 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinewriter.cpp	2010-05-08 15:22:18.000000000 +0100
   878 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinewriter.cpp	2010-05-15 14:32:45.000000000 +0100
   847 @@ -24,6 +24,7 @@
   879 @@ -24,6 +24,7 @@
   848  */
   880  */
   849  
   881  
   850  #include "cmdlinewriter.h"
   882  #include "cmdlinewriter.h"
   851 +#include <cstring>
   883 +#include <cstring>
   852  
   884  
   853  /**
   885  /**
   854  Constructor: CmdLineWriter class
   886  Constructor: CmdLineWriter class
   855 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/exceptionimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/exceptionimplementation.cpp
   887 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/exceptionimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/exceptionimplementation.cpp
   856 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/exceptionimplementation.cpp	2010-05-13 19:14:22.856604788 +0100
   888 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/exceptionimplementation.cpp	2010-05-13 19:14:22.856604788 +0100
   857 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/exceptionimplementation.cpp	2010-05-08 15:24:58.000000000 +0100
   889 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/exceptionimplementation.cpp	2010-05-15 14:32:45.000000000 +0100
   858 @@ -187,7 +187,7 @@
   890 @@ -187,7 +187,7 @@
   859      
   891      
   860  	if(iCmdFlag & KVerbose)
   892  	if(iCmdFlag & KVerbose)
   861  	{
   893  	{
   862 -		cout << aMsg.c_str() << endl;
   894 -		cout << aMsg.c_str() << endl;
   877 +		std::cerr << aMsg.c_str() << std::endl;
   909 +		std::cerr << aMsg.c_str() << std::endl;
   878  	}
   910  	}
   879  }
   911  }
   880 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/sidchecker.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/sidchecker.cpp
   912 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/sidchecker.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/sidchecker.cpp
   881 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/sidchecker.cpp	2010-05-13 19:14:22.861082172 +0100
   913 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/sidchecker.cpp	2010-05-13 19:14:22.861082172 +0100
   882 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/sidchecker.cpp	2010-05-08 15:24:08.000000000 +0100
   914 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/sidchecker.cpp	2010-05-15 14:32:45.000000000 +0100
   883 @@ -249,8 +249,8 @@
   915 @@ -249,8 +249,8 @@
   884  	{
   916  	{
   885  		exeAtt->iAttStatus = KNull;
   917  		exeAtt->iAttStatus = KNull;
   886  	}
   918  	}
   887 -	if((iAllExecutables 
   919 -	if((iAllExecutables 
   891  		|| iNoCheck)
   923  		|| iNoCheck)
   892  	{
   924  	{
   893  		aExeContainer->iExeAttList.push_back(exeAtt);
   925  		aExeContainer->iExeAttList.push_back(exeAtt);
   894 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/xmlwriter.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/xmlwriter.cpp
   926 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/xmlwriter.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/xmlwriter.cpp
   895 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/xmlwriter.cpp	2010-05-13 19:14:22.861082172 +0100
   927 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/xmlwriter.cpp	2010-05-13 19:14:22.861082172 +0100
   896 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/xmlwriter.cpp	2010-05-09 13:32:35.689287000 +0100
   928 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/xmlwriter.cpp	2010-05-15 14:32:45.000000000 +0100
   897 @@ -24,9 +24,10 @@
   929 @@ -24,9 +24,10 @@
   898  */
   930  */
   899  
   931  
   900  #include "xmlwriter.h"
   932  #include "xmlwriter.h"
   901 +#include <cstring>
   933 +#include <cstring>
   924  	if(!xslDestHandle)
   956  	if(!xslDestHandle)
   925  	{
   957  	{
   926  		delete [] filetocopy;
   958  		delete [] filetocopy;
   927 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp
   959 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp
   928 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp	2010-05-13 19:14:23.441088858 +0100
   960 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp	2010-05-13 19:14:23.441088858 +0100
   929 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp	2010-05-09 13:34:57.929288000 +0100
   961 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp	2010-05-15 14:32:45.000000000 +0100
   930 @@ -8,7 +8,7 @@
   962 @@ -8,7 +8,7 @@
   931  #include <boost/thread/detail/config.hpp>
   963  #include <boost/thread/detail/config.hpp>
   932  #include <boost/thread/exceptions.hpp>
   964  #include <boost/thread/exceptions.hpp>
   933  #include <boost/shared_ptr.hpp>
   965  #include <boost/shared_ptr.hpp>
   934 -#include <boost/enable_shared_from_this.hpp>
   966 -#include <boost/enable_shared_from_this.hpp>
   936  #include <boost/thread/mutex.hpp>
   968  #include <boost/thread/mutex.hpp>
   937  #include <boost/optional.hpp>
   969  #include <boost/optional.hpp>
   938  #include <pthread.h>
   970  #include <pthread.h>
   939 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/deflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/deflate.cpp
   971 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/deflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/deflate.cpp
   940 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/deflate.cpp	2010-05-13 19:14:23.493081572 +0100
   972 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/deflate.cpp	2010-05-13 19:14:23.493081572 +0100
   941 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/deflate.cpp	2010-05-08 14:38:16.000000000 +0100
   973 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/deflate.cpp	2010-05-15 14:32:45.000000000 +0100
   942 @@ -20,6 +20,7 @@
   974 @@ -20,6 +20,7 @@
   943  #include "deflate.h"
   975  #include "deflate.h"
   944  #include "h_utl.h"
   976  #include "h_utl.h"
   945  #include "panic.h"
   977  #include "panic.h"
   946 +#define OFFSETOF(c,f) (((TInt)&(((c *)0x1000)->f))-0x1000)
   978 +#define OFFSETOF(c,f) (((TInt)&(((c *)0x1000)->f))-0x1000)
   957  	}
   989  	}
   958  
   990  
   959  inline TInt HDeflateHash::Hash(const TUint8* aPtr)
   991  inline TInt HDeflateHash::Hash(const TUint8* aPtr)
   960 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/panic.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/panic.cpp
   992 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/panic.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/panic.cpp
   961 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/panic.cpp	2010-05-13 19:14:23.497082779 +0100
   993 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/panic.cpp	2010-05-13 19:14:23.497082779 +0100
   962 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/panic.cpp	2010-05-08 14:37:24.000000000 +0100
   994 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/panic.cpp	2010-05-15 14:32:45.000000000 +0100
   963 @@ -21,7 +21,7 @@
   995 @@ -21,7 +21,7 @@
   964  #include "h_utl.h"
   996  #include "h_utl.h"
   965  #include <stdlib.h>
   997  #include <stdlib.h>
   966  
   998  
   967 -char* HuffmanError[]=	{
   999 -char* HuffmanError[]=	{
   969  						"Huffman: Too many codes\n",
  1001  						"Huffman: Too many codes\n",
   970  						"Huffman: Invalid coding\n",
  1002  						"Huffman: Invalid coding\n",
   971  						"Huffman: Buffer overflow\n",
  1003  						"Huffman: Buffer overflow\n",
   972 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32uid/uidcrc.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32uid/uidcrc.cpp
  1004 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32uid/uidcrc.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32uid/uidcrc.cpp
   973 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32uid/uidcrc.cpp	2010-05-13 19:14:23.497082779 +0100
  1005 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32uid/uidcrc.cpp	2010-05-13 19:14:23.497082779 +0100
   974 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32uid/uidcrc.cpp	2010-05-08 14:36:56.000000000 +0100
  1006 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32uid/uidcrc.cpp	2010-05-15 14:32:45.000000000 +0100
   975 @@ -55,7 +55,7 @@
  1007 @@ -55,7 +55,7 @@
   976  
  1008  
   977  	for (i=1; i<4; i++)
  1009  	for (i=1; i<4; i++)
   978  		{
  1010  		{
   979 -		char* endptr = "failed";
  1011 -		char* endptr = "failed";
   981  		uids[i] = strtoul(argv[i],&endptr,0);
  1013  		uids[i] = strtoul(argv[i],&endptr,0);
   982  		if (*endptr!='\0')
  1014  		if (*endptr!='\0')
   983  			{
  1015  			{
   984 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/errorhandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/errorhandler.h
  1016 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/errorhandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/errorhandler.h
   985 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/errorhandler.h	2010-05-13 19:14:23.501082380 +0100
  1017 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/errorhandler.h	2010-05-13 19:14:23.501082380 +0100
   986 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/errorhandler.h	2010-05-12 19:43:57.948831013 +0100
  1018 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/errorhandler.h	2010-05-15 14:32:45.000000000 +0100
   987 @@ -36,8 +36,8 @@
  1019 @@ -36,8 +36,8 @@
   988  class ErrorHandler
  1020  class ErrorHandler
   989  {
  1021  {
   990  	public:
  1022  	public:
   991 -		ErrorHandler(int aMessageIndex,char* aSubMessage,char* aFileName, int aLineNumber);
  1023 -		ErrorHandler(int aMessageIndex,char* aSubMessage,char* aFileName, int aLineNumber);
   993 +		ErrorHandler(int aMessageIndex,char const * aSubMessage,char const * aFileName, int aLineNumber);
  1025 +		ErrorHandler(int aMessageIndex,char const * aSubMessage,char const * aFileName, int aLineNumber);
   994 +        ErrorHandler(int aMessageIndex, char const* aFileName, int aLineNumber);
  1026 +        ErrorHandler(int aMessageIndex, char const* aFileName, int aLineNumber);
   995  		virtual ~ErrorHandler();
  1027  		virtual ~ErrorHandler();
   996  		void Report();
  1028  		void Report();
   997  
  1029  
       
  1030 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/filesysteminterface.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/filesysteminterface.h
       
  1031 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/filesysteminterface.h	2010-05-13 19:14:23.501082380 +0100
       
  1032 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/filesysteminterface.h	2010-05-15 16:42:12.000000000 +0100
       
  1033 @@ -24,6 +24,7 @@
       
  1034  
       
  1035  #include "directory.h"
       
  1036  #include <fstream>
       
  1037 +#include <cstdlib>
       
  1038  
       
  1039  typedef std::ofstream Ofstream;
       
  1040  
   998 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messagehandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messagehandler.h
  1041 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messagehandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messagehandler.h
   999 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messagehandler.h	2010-05-13 19:14:23.501082380 +0100
  1042 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messagehandler.h	2010-05-13 19:14:23.501082380 +0100
  1000 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messagehandler.h	2010-05-12 19:48:35.893331147 +0100
  1043 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messagehandler.h	2010-05-15 14:32:45.000000000 +0100
  1001 @@ -36,9 +36,9 @@
  1044 @@ -36,9 +36,9 @@
  1002      public:
  1045      public:
  1003  		static Message *GetInstance();
  1046  		static Message *GetInstance();
  1004  		static void CleanUp();
  1047  		static void CleanUp();
  1005 -		static void StartLogging(char *filename);
  1048 -		static void StartLogging(char *filename);
  1011  
  1054  
  1012      private:
  1055      private:
  1013  		static Message* iInstance;
  1056  		static Message* iInstance;
  1014 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messageimplementation.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messageimplementation.h
  1057 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messageimplementation.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messageimplementation.h
  1015 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messageimplementation.h	2010-05-13 19:14:23.501082380 +0100
  1058 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messageimplementation.h	2010-05-13 19:14:23.501082380 +0100
  1016 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messageimplementation.h	2010-05-12 19:54:26.568831118 +0100
  1059 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messageimplementation.h	2010-05-15 14:32:45.000000000 +0100
  1017 @@ -84,7 +84,7 @@
  1060 @@ -84,7 +84,7 @@
  1018  		// display message to output device
  1061  		// display message to output device
  1019  		virtual void Output(const char *aName) =0;
  1062  		virtual void Output(const char *aName) =0;
  1020  		// start logging to a file
  1063  		// start logging to a file
  1021 -		virtual void StartLogging(char *fileName)=0;
  1064 -		virtual void StartLogging(char *fileName)=0;
  1032  		void ReportMessage(int aMsgType, int aMsgIndex,...);
  1075  		void ReportMessage(int aMsgType, int aMsgIndex,...);
  1033  		void InitializeMessages();
  1076  		void InitializeMessages();
  1034      private:
  1077      private:
  1035 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/cluster.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/cluster.cpp
  1078 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/cluster.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/cluster.cpp
  1036 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/cluster.cpp	2010-05-13 19:14:23.505082539 +0100
  1079 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/cluster.cpp	2010-05-13 19:14:23.505082539 +0100
  1037 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/cluster.cpp	2010-05-12 14:37:01.301106883 +0100
  1080 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/cluster.cpp	2010-05-15 14:32:45.000000000 +0100
  1038 @@ -143,7 +143,9 @@
  1081 @@ -143,7 +143,9 @@
  1039  {
  1082  {
  1040  	if(iCurrentClusterNumber >= iTotalNumberOfClusters)
  1083  	if(iCurrentClusterNumber >= iTotalNumberOfClusters)
  1041  	{
  1084  	{
  1042 -    	throw ErrorHandler(IMAGESIZETOOBIG,"Occupied number of clusters count exceeded than available clusters",__FILE__,__LINE__);
  1085 -    	throw ErrorHandler(IMAGESIZETOOBIG,"Occupied number of clusters count exceeded than available clusters",__FILE__,__LINE__);
  1046  	}
  1089  	}
  1047  	++iCurrentClusterNumber;
  1090  	++iCurrentClusterNumber;
  1048  }
  1091  }
  1049 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/dirregion.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/dirregion.cpp
  1092 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/dirregion.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/dirregion.cpp
  1050 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/dirregion.cpp	2010-05-13 19:14:23.505082539 +0100
  1093 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/dirregion.cpp	2010-05-13 19:14:23.505082539 +0100
  1051 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/dirregion.cpp	2010-05-12 14:43:35.669597925 +0100
  1094 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/dirregion.cpp	2010-05-15 14:32:45.000000000 +0100
  1052 @@ -49,7 +49,7 @@
  1095 @@ -49,7 +49,7 @@
  1053  	iClusterPtr = CCluster::Instance(iClusterSize,totalClusters);
  1096  	iClusterPtr = CCluster::Instance(iClusterSize,totalClusters);
  1054  	if(iClusterPtr == NULL)
  1097  	if(iClusterPtr == NULL)
  1055  	{
  1098  	{
  1056 -		throw ErrorHandler(CLUSTERERROR,"Instance creation error", __FILE__, __LINE__);
  1099 -		throw ErrorHandler(CLUSTERERROR,"Instance creation error", __FILE__, __LINE__);
  1130  	}
  1173  	}
  1131  }
  1174  }
  1132  
  1175  
  1133 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/errorhandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/errorhandler.cpp
  1176 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/errorhandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/errorhandler.cpp
  1134 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/errorhandler.cpp	2010-05-13 19:14:23.505082539 +0100
  1177 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/errorhandler.cpp	2010-05-13 19:14:23.505082539 +0100
  1135 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/errorhandler.cpp	2010-05-12 19:45:04.149330876 +0100
  1178 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/errorhandler.cpp	2010-05-15 14:32:45.000000000 +0100
  1136 @@ -22,9 +22,10 @@
  1179 @@ -22,9 +22,10 @@
  1137  
  1180  
  1138  #include "errorhandler.h"
  1181  #include "errorhandler.h"
  1139  #include "messagehandler.h"
  1182  #include "messagehandler.h"
  1140 +#include <cstring>
  1183 +#include <cstring>
  1164                              : iFileName(aFileName), iLineNumber(aLineNumber)
  1207                              : iFileName(aFileName), iLineNumber(aLineNumber)
  1165  {
  1208  {
  1166  	iMessageIndex = aMessageIndex;
  1209  	iMessageIndex = aMessageIndex;
  1167 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16bootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16bootsector.cpp
  1210 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16bootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16bootsector.cpp
  1168 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16bootsector.cpp	2010-05-13 19:14:23.505082539 +0100
  1211 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16bootsector.cpp	2010-05-13 19:14:23.505082539 +0100
  1169 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16bootsector.cpp	2010-05-08 14:43:40.000000000 +0100
  1212 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16bootsector.cpp	2010-05-15 14:32:45.000000000 +0100
  1170 @@ -21,6 +21,7 @@
  1213 @@ -21,6 +21,7 @@
  1171  */
  1214  */
  1172  
  1215  
  1173  #include "fat16bootsector.h"
  1216  #include "fat16bootsector.h"
  1174 +#include <cstring>
  1217 +#include <cstring>
  1175  
  1218  
  1176  /**
  1219  /**
  1177  Constructor of the fat16 boot sector class
  1220  Constructor of the fat16 boot sector class
  1178 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16filesystem.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16filesystem.cpp
  1221 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16filesystem.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16filesystem.cpp
  1179 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16filesystem.cpp	2010-05-13 19:14:23.505082539 +0100
  1222 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16filesystem.cpp	2010-05-13 19:14:23.505082539 +0100
  1180 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16filesystem.cpp	2010-05-12 19:42:41.053330333 +0100
  1223 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16filesystem.cpp	2010-05-15 14:32:45.000000000 +0100
  1181 @@ -21,7 +21,7 @@
  1224 @@ -21,7 +21,7 @@
  1182  */
  1225  */
  1183  
  1226  
  1184  #include"fat16filesystem.h"
  1227  #include"fat16filesystem.h"
  1185 -
  1228 -
  1281 +		throw ErrorHandler(UNKNOWNERROR,__FILE__,__LINE__);
  1324 +		throw ErrorHandler(UNKNOWNERROR,__FILE__,__LINE__);
  1282  	}
  1325  	}
  1283  }
  1326  }
  1284 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32bootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32bootsector.cpp
  1327 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32bootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32bootsector.cpp
  1285 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32bootsector.cpp	2010-05-13 19:14:23.505082539 +0100
  1328 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32bootsector.cpp	2010-05-13 19:14:23.505082539 +0100
  1286 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32bootsector.cpp	2010-05-08 14:48:14.000000000 +0100
  1329 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32bootsector.cpp	2010-05-15 14:32:45.000000000 +0100
  1287 @@ -21,6 +21,7 @@
  1330 @@ -21,6 +21,7 @@
  1288  */
  1331  */
  1289  
  1332  
  1290  #include "fat32bootsector.h"
  1333  #include "fat32bootsector.h"
  1291 +#include <cstring>
  1334 +#include <cstring>
  1292  
  1335  
  1293  /**
  1336  /**
  1294  Constructor of the fat16 boot sector class
  1337  Constructor of the fat16 boot sector class
  1295 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32filesystem.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32filesystem.cpp
  1338 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32filesystem.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32filesystem.cpp
  1296 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32filesystem.cpp	2010-05-13 19:14:23.505082539 +0100
  1339 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32filesystem.cpp	2010-05-13 19:14:23.505082539 +0100
  1297 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32filesystem.cpp	2010-05-12 14:34:09.953097477 +0100
  1340 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32filesystem.cpp	2010-05-15 14:32:45.000000000 +0100
  1298 @@ -21,6 +21,7 @@
  1341 @@ -21,6 +21,7 @@
  1299  */
  1342  */
  1300  
  1343  
  1301  #include"fat32filesystem.h"
  1344  #include"fat32filesystem.h"
  1302 +#include <cstring>
  1345 +#include <cstring>
  1470  	}
  1513  	}
  1471  }
  1514  }
  1472  
  1515  
  1473 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp
  1516 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp
  1474 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp	2010-05-13 19:14:23.505082539 +0100
  1517 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp	2010-05-13 19:14:23.505082539 +0100
  1475 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp	2010-05-08 14:43:16.000000000 +0100
  1518 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp	2010-05-15 14:32:45.000000000 +0100
  1476 @@ -22,6 +22,7 @@
  1519 @@ -22,6 +22,7 @@
  1477  */
  1520  */
  1478  
  1521  
  1479  #include "fatbasebootsector.h"
  1522  #include "fatbasebootsector.h"
  1480 +#include <cstring>
  1523 +#include <cstring>
  1481  
  1524  
  1482  /**
  1525  /**
  1483  Constructor of the base boot sector class
  1526  Constructor of the base boot sector class
  1484 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/filesysteminterface.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/filesysteminterface.cpp
  1527 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/filesysteminterface.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/filesysteminterface.cpp
  1485 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/filesysteminterface.cpp	2010-05-13 19:14:23.505082539 +0100
  1528 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/filesysteminterface.cpp	2010-05-13 19:14:23.505082539 +0100
  1486 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/filesysteminterface.cpp	2010-05-12 14:36:03.421601378 +0100
  1529 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/filesysteminterface.cpp	2010-05-15 14:32:45.000000000 +0100
  1487 @@ -62,7 +62,7 @@
  1530 @@ -62,7 +62,7 @@
  1488  		iOutputStream.open(aImageFileName,ios::out|ios::binary);
  1531  		iOutputStream.open(aImageFileName,ios::out|ios::binary);
  1489  		if(iOutputStream.fail() == true )
  1532  		if(iOutputStream.fail() == true )
  1490  		{
  1533  		{
  1491 -			throw ErrorHandler(FILEOPENERROR,aImageFileName,__FILE__, __LINE__);
  1534 -			throw ErrorHandler(FILEOPENERROR,aImageFileName,__FILE__, __LINE__);
  1493  		}
  1536  		}
  1494  		switch(aFileSystem)
  1537  		switch(aFileSystem)
  1495  		{
  1538  		{
  1496 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/longname.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/longname.cpp
  1539 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/longname.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/longname.cpp
  1497 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/longname.cpp	2010-05-13 19:14:23.509081790 +0100
  1540 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/longname.cpp	2010-05-13 19:14:23.509081790 +0100
  1498 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/longname.cpp	2010-05-12 14:40:22.881098047 +0100
  1541 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/longname.cpp	2010-05-15 14:32:45.000000000 +0100
  1499 @@ -21,6 +21,7 @@
  1542 @@ -21,6 +21,7 @@
  1500  
  1543  
  1501  
  1544  
  1502  #include "longname.h"
  1545  #include "longname.h"
  1503 +#include <cstring>
  1546 +#include <cstring>
  1513  	}
  1556  	}
  1514  	FormatLongFileName(iLongName);
  1557  	FormatLongFileName(iLongName);
  1515  	iShortName = GetShortEntryName();
  1558  	iShortName = GetShortEntryName();
  1516 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messagehandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messagehandler.cpp
  1559 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messagehandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messagehandler.cpp
  1517 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messagehandler.cpp	2010-05-13 19:14:23.509081790 +0100
  1560 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messagehandler.cpp	2010-05-13 19:14:23.509081790 +0100
  1518 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messagehandler.cpp	2010-05-12 19:48:34.396830339 +0100
  1561 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messagehandler.cpp	2010-05-15 14:32:45.000000000 +0100
  1519 @@ -51,7 +51,7 @@
  1562 @@ -51,7 +51,7 @@
  1520  @param aFileName
  1563  @param aFileName
  1521  Name of the Log File
  1564  Name of the Log File
  1522  */
  1565  */
  1523 -void MessageHandler::StartLogging(char *aFileName)
  1566 -void MessageHandler::StartLogging(char *aFileName)
  1534  {
  1577  {
  1535  	GetInstance()->ReportMessage(aMsgType,aMsgIndex,aName);
  1578  	GetInstance()->ReportMessage(aMsgType,aMsgIndex,aName);
  1536  }
  1579  }
  1537 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messageimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messageimplementation.cpp
  1580 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messageimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messageimplementation.cpp
  1538 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messageimplementation.cpp	2010-05-13 19:14:23.509081790 +0100
  1581 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messageimplementation.cpp	2010-05-13 19:14:23.509081790 +0100
  1539 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messageimplementation.cpp	2010-05-12 19:52:40.993330164 +0100
  1582 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messageimplementation.cpp	2010-05-15 14:32:45.000000000 +0100
  1540 @@ -23,15 +23,17 @@
  1583 @@ -23,15 +23,17 @@
  1541  
  1584  
  1542  #include "messageimplementation.h"
  1585  #include "messageimplementation.h"
  1543  #include "errorhandler.h"
  1586  #include "errorhandler.h"
  1544 +#include <cstring>
  1587 +#include <cstring>
  1568  {
  1611  {
  1569  	char logFile[1024];
  1612  	char logFile[1024];
  1570  	FILE *fptr;
  1613  	FILE *fptr;
  1571 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/host/h_utl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/host/h_utl.cpp
  1614 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/host/h_utl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/host/h_utl.cpp
  1572 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/host/h_utl.cpp	2010-05-13 19:14:23.509081790 +0100
  1615 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/host/h_utl.cpp	2010-05-13 19:14:23.509081790 +0100
  1573 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/host/h_utl.cpp	2010-05-08 14:36:18.000000000 +0100
  1616 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/host/h_utl.cpp	2010-05-15 14:32:45.000000000 +0100
  1574 @@ -177,7 +177,7 @@
  1617 @@ -177,7 +177,7 @@
  1575  
  1618  
  1576  
  1619  
  1577  	TInt build=0;
  1620  	TInt build=0;
  1578 -	memset(&aVersion, sizeof(TVersion), 0);	
  1621 -	memset(&aVersion, sizeof(TVersion), 0);	
  1589  	if (pMinor)
  1632  	if (pMinor)
  1590  		{
  1633  		{
  1591  		pMinor++; 
  1634  		pMinor++; 
  1592 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/inc/h_utl.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/inc/h_utl.h
  1635 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/inc/h_utl.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/inc/h_utl.h
  1593 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/inc/h_utl.h	2010-05-13 19:14:23.513082299 +0100
  1636 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/inc/h_utl.h	2010-05-13 19:14:23.513082299 +0100
  1594 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/inc/h_utl.h	2010-05-08 14:39:00.000000000 +0100
  1637 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/inc/h_utl.h	2010-05-15 14:32:45.000000000 +0100
  1595 @@ -65,9 +65,6 @@
  1638 @@ -65,9 +65,6 @@
  1596  #define _stricmp strcasecmp		
  1639  #define _stricmp strcasecmp		
  1597  #define strnicmp strncasecmp	
  1640  #define strnicmp strncasecmp	
  1598  
  1641  
  1599 -// to fix the linux problem: memcpy does not work with overlapped areas.
  1642 -// to fix the linux problem: memcpy does not work with overlapped areas.
  1602  // hand-rolled strupr function for converting a string to all uppercase
  1645  // hand-rolled strupr function for converting a string to all uppercase
  1603  char* strupr(char *a);
  1646  char* strupr(char *a);
  1604  
  1647  
  1605 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp
  1648 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp
  1606 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp	2010-05-13 19:14:23.513082299 +0100
  1649 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp	2010-05-13 19:14:23.513082299 +0100
  1607 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp	2010-05-08 14:35:28.000000000 +0100
  1650 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp	2010-05-15 14:32:45.000000000 +0100
  1608 @@ -21,6 +21,7 @@
  1651 @@ -21,6 +21,7 @@
  1609  
  1652  
  1610  
  1653  
  1611  #include "parameterfileprocessor.h"
  1654  #include "parameterfileprocessor.h"
  1612 +#include <cstring>
  1655 +#include <cstring>
  1613  
  1656  
  1614  
  1657  
  1615  /**
  1658  /**
  1616 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/BLD.INF /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/BLD.INF
  1659 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/BLD.INF /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/BLD.INF
  1617 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/BLD.INF	2010-05-13 19:14:23.517082109 +0100
  1660 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/BLD.INF	2010-05-13 19:14:23.517082109 +0100
  1618 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/BLD.INF	2010-04-29 15:03:58.000000000 +0100
  1661 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/BLD.INF	2010-05-15 14:32:45.000000000 +0100
  1619 @@ -15,13 +15,14 @@
  1662 @@ -15,13 +15,14 @@
  1620  *
  1663  *
  1621  */
  1664  */
  1622  
  1665  
  1623 +#include <productvariant.hrh>
  1666 +#include <productvariant.hrh>
  1632  ../maksym/hpsym.bat                 /epoc32/tools/hpsym.bat
  1675  ../maksym/hpsym.bat                 /epoc32/tools/hpsym.bat
  1633  ../maksym/maksym.bat                /epoc32/tools/maksym.bat
  1676  ../maksym/maksym.bat                /epoc32/tools/maksym.bat
  1634  ../maksym/maksymrofs.bat            /epoc32/tools/maksymrofs.bat
  1677  ../maksym/maksymrofs.bat            /epoc32/tools/maksymrofs.bat
  1635 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/readimage.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/readimage.mmp
  1678 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/readimage.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/readimage.mmp
  1636 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/readimage.mmp	2010-05-13 19:14:23.517082109 +0100
  1679 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/readimage.mmp	2010-05-13 19:14:23.517082109 +0100
  1637 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/readimage.mmp	2010-05-08 14:49:50.000000000 +0100
  1680 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/readimage.mmp	2010-05-15 14:32:45.000000000 +0100
  1638 @@ -45,15 +45,16 @@
  1681 @@ -45,15 +45,16 @@
  1639  userinclude     ..\..\imglib\compress 
  1682  userinclude     ..\..\imglib\compress 
  1640  userinclude		..\..\imglib\patchdataprocessor\include
  1683  userinclude		..\..\imglib\patchdataprocessor\include
  1641  userinclude		..\..\sisutils\inc
  1684  userinclude		..\..\sisutils\inc
  1642 +#ifndef TOOLS2_LINUX
  1685 +#ifndef TOOLS2_LINUX
  1654  #else
  1697  #else
  1655  STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
  1698  STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
  1656  OPTION    GCC -mthreads -O2 -Wno-uninitialized
  1699  OPTION    GCC -mthreads -O2 -Wno-uninitialized
  1657 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/common.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/common.h
  1700 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/common.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/common.h
  1658 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/common.h	2010-05-13 19:14:23.521083525 +0100
  1701 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/common.h	2010-05-13 19:14:23.521083525 +0100
  1659 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/common.h	2010-05-12 20:12:58.285330621 +0100
  1702 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/common.h	2010-05-15 14:32:45.000000000 +0100
  1660 @@ -46,7 +46,7 @@
  1703 @@ -46,7 +46,7 @@
  1661  #define DLL_UID1	10000079
  1704  #define DLL_UID1	10000079
  1662  #define EXE_UID1	1000007a
  1705  #define EXE_UID1	1000007a
  1663  
  1706  
  1664 -typedef enum EImageType
  1707 -typedef enum EImageType
  1676 +			TUint aDataWidth=8, char aFiller='0', TUint aMaxDescWidth=28);
  1719 +			TUint aDataWidth=8, char aFiller='0', TUint aMaxDescWidth=28);
  1677  
  1720  
  1678  #endif //__IMAGE_READER_COMMON_H_
  1721  #endif //__IMAGE_READER_COMMON_H_
  1679 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/image_reader.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/image_reader.h
  1722 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/image_reader.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/image_reader.h
  1680 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/image_reader.h	2010-05-13 19:14:23.521083525 +0100
  1723 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/image_reader.h	2010-05-13 19:14:23.521083525 +0100
  1681 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/image_reader.h	2010-05-08 15:02:34.000000000 +0100
  1724 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/image_reader.h	2010-05-15 14:32:45.000000000 +0100
  1682 @@ -27,7 +27,19 @@
  1725 @@ -27,7 +27,19 @@
  1683  
  1726  
  1684  
  1727  
  1685  #include "common.h"
  1728  #include "common.h"
  1686 -#include <direct.h>
  1729 -#include <direct.h>
  1700  #include <map>
  1743  #include <map>
  1701  
  1744  
  1702  typedef struct tag_FILEINFO
  1745  typedef struct tag_FILEINFO
  1703 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/rofs_image_reader.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/rofs_image_reader.h
  1746 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/rofs_image_reader.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/rofs_image_reader.h
  1704 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/rofs_image_reader.h	2010-05-13 19:14:23.521083525 +0100
  1747 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/rofs_image_reader.h	2010-05-13 19:14:23.521083525 +0100
  1705 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/rofs_image_reader.h	2010-05-12 14:54:55.029099961 +0100
  1748 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/rofs_image_reader.h	2010-05-15 14:32:45.000000000 +0100
  1706 @@ -65,10 +65,10 @@
  1749 @@ -65,10 +65,10 @@
  1707  	void DumpDirStructure();
  1750  	void DumpDirStructure();
  1708  	void DumpFileAttributes();
  1751  	void DumpFileAttributes();
  1709  	void MarkNodes();
  1752  	void MarkNodes();
  1710 -	void SetSeek(streampos aOff, ios::seek_dir aStartPos=ios::beg);
  1753 -	void SetSeek(streampos aOff, ios::seek_dir aStartPos=ios::beg);
  1716  	void WriteEntryToFile(char* aFileName,TRomNode* aNode,ofstream& aLogFile);
  1759  	void WriteEntryToFile(char* aFileName,TRomNode* aNode,ofstream& aLogFile);
  1717  
  1760  
  1718  	void GetFileInfo(FILEINFOMAP &aFileMap);
  1761  	void GetFileInfo(FILEINFOMAP &aFileMap);
  1719 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/common.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/common.cpp
  1762 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/common.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/common.cpp
  1720 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/common.cpp	2010-05-13 19:14:23.521083525 +0100
  1763 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/common.cpp	2010-05-13 19:14:23.521083525 +0100
  1721 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/common.cpp	2010-05-12 20:18:29.509331018 +0100
  1764 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/common.cpp	2010-05-15 14:32:45.000000000 +0100
  1722 @@ -40,7 +40,7 @@
  1765 @@ -40,7 +40,7 @@
  1723  	*out << "Usage Error:" << iErrMessage.c_str() << endl;
  1766  	*out << "Usage Error:" << iErrMessage.c_str() << endl;
  1724  }
  1767  }
  1725  
  1768  
  1726 -ostream& DumpInHex(char* aDesc, TUint32 aData, bool aContinue, TUint aDataWidth, \
  1769 -ostream& DumpInHex(char* aDesc, TUint32 aData, bool aContinue, TUint aDataWidth, \
  1728  				   char aFiller, TUint aMaxDescWidth)
  1771  				   char aFiller, TUint aMaxDescWidth)
  1729  {
  1772  {
  1730  	TUint aDescLen = strlen(aDesc);
  1773  	TUint aDescLen = strlen(aDesc);
  1731 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/e32_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/e32_image_reader.cpp
  1774 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/e32_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/e32_image_reader.cpp
  1732 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/e32_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
  1775 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/e32_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
  1733 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/e32_image_reader.cpp	2010-05-12 15:03:06.013600086 +0100
  1776 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/e32_image_reader.cpp	2010-05-15 14:32:45.000000000 +0100
  1734 @@ -75,26 +75,26 @@
  1777 @@ -75,26 +75,26 @@
  1735  	bool aContinue = true;
  1778  	bool aContinue = true;
  1736  
  1779  
  1737  	DumpInHex("Size", aE32Image.iSize ) << endl;
  1780  	DumpInHex("Size", aE32Image.iSize ) << endl;
  1738 -	DumpInHex("Uids",aE32Image.iOrigHdr->iUid1);
  1781 -	DumpInHex("Uids",aE32Image.iOrigHdr->iUid1);
  1775  
  1818  
  1776  	TUint aHeaderFmt = E32ImageHeader::HdrFmtFromFlags(aE32Image.iOrigHdr->iFlags);
  1819  	TUint aHeaderFmt = E32ImageHeader::HdrFmtFromFlags(aE32Image.iOrigHdr->iFlags);
  1777  
  1820  
  1778 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_handler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_handler.cpp
  1821 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_handler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_handler.cpp
  1779 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_handler.cpp	2010-05-13 19:14:23.525082148 +0100
  1822 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_handler.cpp	2010-05-13 19:14:23.525082148 +0100
  1780 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_handler.cpp	2010-05-12 14:59:42.797598037 +0100
  1823 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_handler.cpp	2010-05-15 14:32:45.000000000 +0100
  1781 @@ -392,7 +392,7 @@
  1824 @@ -392,7 +392,7 @@
  1782  	{
  1825  	{
  1783  		if(iInputFileName.empty())
  1826  		if(iInputFileName.empty())
  1784  		{
  1827  		{
  1785 -			throw SisUtilsException("Usage Error", "No SIS file passed");
  1828 -			throw SisUtilsException("Usage Error", "No SIS file passed");
  1796  		}
  1839  		}
  1797  	}
  1840  	}
  1798  }
  1841  }
  1799 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_reader.cpp
  1842 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_reader.cpp
  1800 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
  1843 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
  1801 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_reader.cpp	2010-05-08 14:57:10.000000000 +0100
  1844 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_reader.cpp	2010-05-15 14:32:45.000000000 +0100
  1802 @@ -173,7 +173,7 @@
  1845 @@ -173,7 +173,7 @@
  1803  
  1846  
  1804  
  1847  
  1805  	// get the current working directory and store in buffer.
  1848  	// get the current working directory and store in buffer.
  1806 -	if( _getcwd(currWorkingDir,_MAX_BUFFER_SIZE_) == NULL )
  1849 -	if( _getcwd(currWorkingDir,_MAX_BUFFER_SIZE_) == NULL )
  1847  		// replace the source path with the original path information.
  1890  		// replace the source path with the original path information.
  1848  		strcpy(aSrcPath,origPath.c_str());
  1891  		strcpy(aSrcPath,origPath.c_str());
  1849  		delete[] currWorkingDir;
  1892  		delete[] currWorkingDir;
  1850 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rofs_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rofs_image_reader.cpp
  1893 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rofs_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rofs_image_reader.cpp
  1851 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rofs_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
  1894 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rofs_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
  1852 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rofs_image_reader.cpp	2010-05-12 20:14:02.065330046 +0100
  1895 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rofs_image_reader.cpp	2010-05-15 14:32:45.000000000 +0100
  1853 @@ -42,7 +42,7 @@
  1896 @@ -42,7 +42,7 @@
  1854  	delete iImageReader;
  1897  	delete iImageReader;
  1855  }
  1898  }
  1856  
  1899  
  1857 -void RofsImageReader::SetSeek(streampos aOff, ios::seek_dir aStartPos)
  1900 -void RofsImageReader::SetSeek(streampos aOff, ios::seek_dir aStartPos)
  1896  				}
  1939  				}
  1897  			}
  1940  			}
  1898  			else
  1941  			else
  1899 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rom_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rom_image_reader.cpp
  1942 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rom_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rom_image_reader.cpp
  1900 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rom_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
  1943 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rom_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
  1901 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rom_image_reader.cpp	2010-05-12 20:14:55.472828545 +0100
  1944 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rom_image_reader.cpp	2010-05-15 14:32:45.000000000 +0100
  1902 @@ -20,6 +20,12 @@
  1945 @@ -20,6 +20,12 @@
  1903  #include <e32rom.h>
  1946  #include <e32rom.h>
  1904  #include "rom_image_reader.h"
  1947  #include "rom_image_reader.h"
  1905  #include "r_rom.h"
  1948  #include "r_rom.h"
  1906 +#if defined(WIN32)
  1949 +#if defined(WIN32)
  1932  	
  1975  	
  1933  }
  1976  }
  1934  
  1977  
  1935 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_build.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_build.cpp
  1978 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_build.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_build.cpp
  1936 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_build.cpp	2010-05-13 19:14:23.525082148 +0100
  1979 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_build.cpp	2010-05-13 19:14:23.525082148 +0100
  1937 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_build.cpp	2010-05-08 15:04:00.000000000 +0100
  1980 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_build.cpp	2010-05-15 14:32:45.000000000 +0100
  1938 @@ -29,7 +29,7 @@
  1981 @@ -29,7 +29,7 @@
  1939  
  1982  
  1940  #if defined(__MSVCDOTNET__) || defined(__TOOLS2__)
  1983  #if defined(__MSVCDOTNET__) || defined(__TOOLS2__)
  1941  	#include <iomanip>
  1984  	#include <iomanip>
  1942 -	#include <strstream>
  1985 -	#include <strstream>
  1987  			compression = f.iHdr->CompressionType();
  2030  			compression = f.iHdr->CompressionType();
  1988  			memcpy(&iUids[0], aDest, sizeof(iUids));
  2031  			memcpy(&iUids[0], aDest, sizeof(iUids));
  1989  			}
  2032  			}
  1990 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.cpp
  2033 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.cpp
  1991 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.cpp	2010-05-13 19:14:23.525082148 +0100
  2034 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.cpp	2010-05-13 19:14:23.525082148 +0100
  1992 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.cpp	2010-05-12 15:56:04.265098243 +0100
  2035 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.cpp	2010-05-15 14:32:45.000000000 +0100
  1993 @@ -305,7 +305,7 @@
  2036 @@ -305,7 +305,7 @@
  1994  @param aInfo Used by the caller to identify where the error occurred.
  2037  @param aInfo Used by the caller to identify where the error occurred.
  1995  @return Error number. KErrNone is returned if there are no errors.
  2038  @return Error number. KErrNone is returned if there are no errors.
  1996  */
  2039  */
  1997 -TInt RCoreImageReader::ImageError(int aItemsRead, int aExpected, char *aInfo)
  2040 -TInt RCoreImageReader::ImageError(int aItemsRead, int aExpected, char *aInfo)
  1999  	{
  2042  	{
  2000  	if (aItemsRead != aExpected)
  2043  	if (aItemsRead != aExpected)
  2001  		{
  2044  		{
  2002 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.h
  2045 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.h
  2003 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.h	2010-05-13 19:14:23.525082148 +0100
  2046 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.h	2010-05-13 19:14:23.525082148 +0100
  2004 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.h	2010-05-12 15:56:07.345100720 +0100
  2047 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.h	2010-05-15 14:32:45.000000000 +0100
  2005 @@ -103,7 +103,7 @@
  2048 @@ -103,7 +103,7 @@
  2006  	TText* Filename();
  2049  	TText* Filename();
  2007  private:
  2050  private:
  2008  	TInt ReadIdentifier();
  2051  	TInt ReadIdentifier();
  2009 -	TInt ImageError(int aBytesRead, int aExpected, char* aInfo);
  2052 -	TInt ImageError(int aBytesRead, int aExpected, char* aInfo);
  2011  
  2054  
  2012  	/** Image type of the file being read */
  2055  	/** Image type of the file being read */
  2013  	TImageType iImageType;
  2056  	TImageType iImageType;
  2014 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveimage.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveimage.cpp
  2057 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveimage.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveimage.cpp
  2015 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveimage.cpp	2010-05-13 19:14:23.529081888 +0100
  2058 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveimage.cpp	2010-05-13 19:14:23.529081888 +0100
  2016 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveimage.cpp	2010-04-21 13:27:26.000000000 +0100
  2059 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveimage.cpp	2010-05-15 14:32:45.000000000 +0100
  2017 @@ -254,7 +254,7 @@
  2060 @@ -254,7 +254,7 @@
  2018  	fileName.append("/");
  2061  	fileName.append("/");
  2019  
  2062  
  2020  	// Go through each entry
  2063  	// Go through each entry
  2021 -	while(dirEntry = readdir(dirHandler))
  2064 -	while(dirEntry = readdir(dirHandler))
  2023  		{
  2066  		{
  2024  		if(dirEntry->d_type != DT_DIR) 
  2067  		if(dirEntry->d_type != DT_DIR) 
  2025  			{
  2068  			{
  2026 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.cpp
  2069 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.cpp
  2027 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.cpp	2010-05-13 19:14:23.529081888 +0100
  2070 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.cpp	2010-05-13 19:14:23.529081888 +0100
  2028 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.cpp	2010-05-08 15:05:24.000000000 +0100
  2071 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.cpp	2010-05-15 14:32:45.000000000 +0100
  2029 @@ -82,7 +82,7 @@
  2072 @@ -82,7 +82,7 @@
  2030  /**
  2073  /**
  2031  Time Stamp for Log file.
  2074  Time Stamp for Log file.
  2032  */ 
  2075  */ 
  2033 -TAny GetLocalTime(TAny)
  2076 -TAny GetLocalTime(TAny)
  2035  	{
  2078  	{
  2036  	struct tm *aNewTime = NULL;
  2079  	struct tm *aNewTime = NULL;
  2037  	time_t aTime = 0;
  2080  	time_t aTime = 0;
  2038 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.h
  2081 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.h
  2039 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.h	2010-05-13 19:14:23.529081888 +0100
  2082 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.h	2010-05-13 19:14:23.529081888 +0100
  2040 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.h	2010-05-08 15:08:42.000000000 +0100
  2083 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.h	2010-05-15 14:32:45.000000000 +0100
  2041 @@ -24,6 +24,6 @@
  2084 @@ -24,6 +24,6 @@
  2042  #include <e32def.h>
  2085  #include <e32def.h>
  2043  
  2086  
  2044  TInt Getlogfile(TText *aDriveObeyFileName,TText* &aPadLogFile);
  2087  TInt Getlogfile(TText *aDriveObeyFileName,TText* &aPadLogFile);
  2045 -TAny GetLocalTime(TAny);
  2088 -TAny GetLocalTime(TAny);
  2046 +TAny GetLocalTime();
  2089 +TAny GetLocalTime();
  2047  
  2090  
  2048  #endif
  2091  #endif
  2049 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_obey.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_obey.cpp
  2092 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_obey.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_obey.cpp
  2050 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_obey.cpp	2010-05-13 19:14:23.529081888 +0100
  2093 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_obey.cpp	2010-05-13 19:14:23.529081888 +0100
  2051 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_obey.cpp	2010-05-12 09:50:42.805097594 +0100
  2094 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_obey.cpp	2010-05-15 14:32:45.000000000 +0100
  2052 @@ -47,6 +47,7 @@
  2095 @@ -47,6 +47,7 @@
  2053  #include <time.h>
  2096  #include <time.h>
  2054  #include <assert.h>
  2097  #include <assert.h>
  2055  #include <errno.h>
  2098  #include <errno.h>
  2056 +#include <limits.h>
  2099 +#include <limits.h>
  2081  			  iReader.CopyWord(1, coreImageFileName);
  2124  			  iReader.CopyWord(1, coreImageFileName);
  2082  			  iReader.MarkNext(); // ready for processing extension
  2125  			  iReader.MarkNext(); // ready for processing extension
  2083  			  break;
  2126  			  break;
  2084 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/rofsbuild.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/rofsbuild.mmp
  2127 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/rofsbuild.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/rofsbuild.mmp
  2085 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/rofsbuild.mmp	2010-05-13 19:14:23.533081838 +0100
  2128 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/rofsbuild.mmp	2010-05-13 19:14:23.533081838 +0100
  2086 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/rofsbuild.mmp	2010-05-08 15:07:32.000000000 +0100
  2129 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/rofsbuild.mmp	2010-05-15 14:32:45.000000000 +0100
  2087 @@ -43,15 +43,16 @@
  2130 @@ -43,15 +43,16 @@
  2088  USERINCLUDE   ../../imglib/inc ../../imglib/compress ../../imglib/filesystem/include 
  2131  USERINCLUDE   ../../imglib/inc ../../imglib/compress ../../imglib/filesystem/include 
  2089  USERINCLUDE   ../../imglib/patchdataprocessor/include ../../imglib/parameterfileprocessor/include
  2132  USERINCLUDE   ../../imglib/patchdataprocessor/include ../../imglib/parameterfileprocessor/include
  2090  USERINCLUDE	  ../../imglib/memmap/include
  2133  USERINCLUDE	  ../../imglib/memmap/include
  2091 +#ifndef TOOLS2_LINUX
  2134 +#ifndef TOOLS2_LINUX
  2103  #else
  2146  #else
  2104  STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
  2147  STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
  2105  OPTION    GCC -mthreads -O2 -Wno-uninitialized
  2148  OPTION    GCC -mthreads -O2 -Wno-uninitialized
  2106 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_rofs.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_rofs.cpp
  2149 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_rofs.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_rofs.cpp
  2107 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_rofs.cpp	2010-05-13 19:14:23.529081888 +0100
  2150 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_rofs.cpp	2010-05-13 19:14:23.529081888 +0100
  2108 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_rofs.cpp	2010-05-08 15:08:18.000000000 +0100
  2151 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_rofs.cpp	2010-05-15 14:32:45.000000000 +0100
  2109 @@ -584,9 +584,10 @@
  2152 @@ -584,9 +584,10 @@
  2110  			coffhead[0x54] = 0x20;
  2153  			coffhead[0x54] = 0x20;
  2111  
  2154  
  2112  			// now fill in the text segment size
  2155  			// now fill in the text segment size
  2113 -			*(TUint32 *) (&coffhead[0x18]) = ALIGN4K(iSizeUsed);
  2156 -			*(TUint32 *) (&coffhead[0x18]) = ALIGN4K(iSizeUsed);
  2120  			os.write(reinterpret_cast<char *>(coffhead), sizeof(coffhead));
  2163  			os.write(reinterpret_cast<char *>(coffhead), sizeof(coffhead));
  2121  			}
  2164  			}
  2122  		break;
  2165  		break;
  2123 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.cpp
  2166 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.cpp
  2124 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.cpp	2010-05-13 19:14:23.533081838 +0100
  2167 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.cpp	2010-05-13 19:14:23.533081838 +0100
  2125 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.cpp	2010-05-12 14:47:03.881119838 +0100
  2168 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.cpp	2010-05-15 14:32:45.000000000 +0100
  2126 @@ -47,7 +47,7 @@
  2169 @@ -47,7 +47,7 @@
  2127  Area::~Area()
  2170  Area::~Area()
  2128  	{
  2171  	{
  2129  	ReleaseAllFiles();
  2172  	ReleaseAllFiles();
  2130 -	free(const_cast<char*>(iName));	// allocated with strdup()
  2173 -	free(const_cast<char*>(iName));	// allocated with strdup()
  2132  	}
  2175  	}
  2133  
  2176  
  2134  
  2177  
  2135 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.h
  2178 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.h
  2136 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.h	2010-05-13 19:14:23.533081838 +0100
  2179 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.h	2010-05-13 19:14:23.533081838 +0100
  2137 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.h	2010-05-12 14:47:02.317600179 +0100
  2180 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.h	2010-05-15 14:32:45.000000000 +0100
  2138 @@ -104,7 +104,7 @@
  2181 @@ -104,7 +104,7 @@
  2139  public:
  2182  public:
  2140  	TRomBuilderEntry* iFirstPagedCode; // For PagedRom only
  2183  	TRomBuilderEntry* iFirstPagedCode; // For PagedRom only
  2141  private:
  2184  private:
  2142 -	const char* iName;
  2185 -	const char* iName;
  2144  	TLinAddr iDestBaseAddr;
  2187  	TLinAddr iDestBaseAddr;
  2145  	TLinAddr iSrcBaseAddr;
  2188  	TLinAddr iSrcBaseAddr;
  2146  	TLinAddr iSrcLimitAddr;
  2189  	TLinAddr iSrcLimitAddr;
  2147 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_obey.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_obey.cpp
  2190 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_obey.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_obey.cpp
  2148 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_obey.cpp	2010-05-13 19:14:23.537081787 +0100
  2191 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_obey.cpp	2010-05-13 19:14:23.537081787 +0100
  2149 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_obey.cpp	2010-05-08 14:50:44.000000000 +0100
  2192 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_obey.cpp	2010-05-15 14:32:45.000000000 +0100
  2150 @@ -301,7 +301,7 @@
  2193 @@ -301,7 +301,7 @@
  2151  	iCurrentLine++;
  2194  	iCurrentLine++;
  2152  	iCurrentMark = ftell(iObeyFile);
  2195  	iCurrentMark = ftell(iObeyFile);
  2153  	iLine[0]='\0';
  2196  	iLine[0]='\0';
  2154 -	fgets((char*)iLine,imaxLength+1,iObeyFile);
  2197 -	fgets((char*)iLine,imaxLength+1,iObeyFile);
  2171  			iReader.CopyWord(1, coreImageFileName);
  2214  			iReader.CopyWord(1, coreImageFileName);
  2172  			break;
  2215  			break;
  2173  		}
  2216  		}
  2174 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/rombuild.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/rombuild.mmp
  2217 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/rombuild.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/rombuild.mmp
  2175 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/rombuild.mmp	2010-05-13 19:14:23.541082016 +0100
  2218 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/rombuild.mmp	2010-05-13 19:14:23.541082016 +0100
  2176 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/rombuild.mmp	2010-05-08 14:52:22.000000000 +0100
  2219 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/rombuild.mmp	2010-05-15 14:32:45.000000000 +0100
  2177 @@ -41,7 +41,9 @@
  2220 @@ -41,7 +41,9 @@
  2178  userinclude	../../imglib/compress 	../../imglib/inc 
  2221  userinclude	../../imglib/compress 	../../imglib/inc 
  2179  userinclude	../../imglib/patchdataprocessor/include ../../imglib/parameterfileprocessor/include
  2222  userinclude	../../imglib/patchdataprocessor/include ../../imglib/parameterfileprocessor/include
  2180  userinclude ../../imglib/memmap/include
  2223  userinclude ../../imglib/memmap/include
  2181 +#ifndef TOOLS2_LINUX
  2224 +#ifndef TOOLS2_LINUX
  2194  #else
  2237  #else
  2195  STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
  2238  STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
  2196  OPTION    GCC -O2 -Wno-uninitialized -mthreads
  2239  OPTION    GCC -O2 -Wno-uninitialized -mthreads
  2197 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_rom.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_rom.cpp
  2240 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_rom.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_rom.cpp
  2198 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_rom.cpp	2010-05-13 19:14:23.541082016 +0100
  2241 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_rom.cpp	2010-05-13 19:14:23.541082016 +0100
  2199 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_rom.cpp	2010-05-08 14:51:46.000000000 +0100
  2242 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_rom.cpp	2010-05-15 14:32:45.000000000 +0100
  2200 @@ -1835,7 +1835,7 @@
  2243 @@ -1835,7 +1835,7 @@
  2201  			TRomFile** l=rf->iPDeps;
  2244  			TRomFile** l=rf->iPDeps;
  2202  			FindMarked(MARK_EXE, MARK_EXE, l);
  2245  			FindMarked(MARK_EXE, MARK_EXE, l);
  2203  			TInt nx=l-rf->iPDeps;
  2246  			TInt nx=l-rf->iPDeps;
  2204 -			if (!e->IsDll() && (nx>1 || nx==1 && l[-1]!=rf))
  2247 -			if (!e->IsDll() && (nx>1 || nx==1 && l[-1]!=rf))
  2220  
  2263  
  2221  			os.write(reinterpret_cast<char *>(coffhead), sizeof(coffhead));
  2264  			os.write(reinterpret_cast<char *>(coffhead), sizeof(coffhead));
  2222  			}
  2265  			}
  2223 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkgfileparser.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkgfileparser.h
  2266 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkgfileparser.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkgfileparser.h
  2224 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkgfileparser.h	2010-05-13 19:14:23.545083223 +0100
  2267 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkgfileparser.h	2010-05-13 19:14:23.545083223 +0100
  2225 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkgfileparser.h	2010-05-12 19:15:05.824830894 +0100
  2268 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkgfileparser.h	2010-05-15 14:32:45.000000000 +0100
  2226 @@ -33,6 +33,10 @@
  2269 @@ -33,6 +33,10 @@
  2227  
  2270  
  2228  #include "pkglanguage.h"
  2271  #include "pkglanguage.h"
  2229  
  2272  
  2230 +int CompareTwoString(wchar_t const * string ,wchar_t const * option);
  2273 +int CompareTwoString(wchar_t const * string ,wchar_t const * option);
  2268  };
  2311  };
  2269  
  2312  
  2270  #endif //__PKGFILEPARSER_H__
  2313  #endif //__PKGFILEPARSER_H__
  2271 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkglanguage.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkglanguage.h
  2314 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkglanguage.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkglanguage.h
  2272 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkglanguage.h	2010-05-13 19:14:23.545083223 +0100
  2315 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkglanguage.h	2010-05-13 19:14:23.545083223 +0100
  2273 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkglanguage.h	2010-05-08 15:21:16.000000000 +0100
  2316 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkglanguage.h	2010-05-15 14:32:45.000000000 +0100
  2274 @@ -26,7 +26,7 @@
  2317 @@ -26,7 +26,7 @@
  2275  
  2318  
  2276  typedef struct
  2319  typedef struct
  2277  {
  2320  {
  2278 -	wchar_t*		iName;
  2321 -	wchar_t*		iName;
  2280  	unsigned long	iId;
  2323  	unsigned long	iId;
  2281  } SKeyword;
  2324  } SKeyword;
  2282  
  2325  
  2283 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sis2iby.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sis2iby.h
  2326 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sis2iby.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sis2iby.h
  2284 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sis2iby.h	2010-05-13 19:14:23.545083223 +0100
  2327 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sis2iby.h	2010-05-13 19:14:23.545083223 +0100
  2285 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sis2iby.h	2010-05-12 20:09:01.404831073 +0100
  2328 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sis2iby.h	2010-05-15 14:32:45.000000000 +0100
  2286 @@ -38,7 +38,7 @@
  2329 @@ -38,7 +38,7 @@
  2287  class Sis2Iby : public SisUtils
  2330  class Sis2Iby : public SisUtils
  2288  {
  2331  {
  2289  public:
  2332  public:
  2290 -	Sis2Iby(char* aFile);
  2333 -	Sis2Iby(char* aFile);
  2292  	~Sis2Iby();
  2335  	~Sis2Iby();
  2293  
  2336  
  2294  	void ProcessSisFile();
  2337  	void ProcessSisFile();
  2295 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sisutils.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sisutils.h
  2338 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sisutils.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sisutils.h
  2296 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sisutils.h	2010-05-13 19:14:23.545083223 +0100
  2339 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sisutils.h	2010-05-13 19:14:23.545083223 +0100
  2297 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sisutils.h	2010-05-12 20:03:18.901331124 +0100
  2340 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sisutils.h	2010-05-15 14:32:45.000000000 +0100
  2298 @@ -40,6 +40,9 @@
  2341 @@ -40,6 +40,9 @@
  2299  #ifdef WIN32
  2342  #ifdef WIN32
  2300  #define PATHSEPARATOR  "\\"
  2343  #define PATHSEPARATOR  "\\"
  2301  #endif
  2344  #endif
  2302 +#ifdef __LINUX__
  2345 +#ifdef __LINUX__
  2323  	virtual ~SisUtilsException();
  2366  	virtual ~SisUtilsException();
  2324  	virtual void Report();
  2367  	virtual void Report();
  2325  
  2368  
  2326 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/pkgfileparser.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/pkgfileparser.cpp
  2369 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/pkgfileparser.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/pkgfileparser.cpp
  2327 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/pkgfileparser.cpp	2010-05-13 19:14:23.545083223 +0100
  2370 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/pkgfileparser.cpp	2010-05-13 19:14:23.545083223 +0100
  2328 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/pkgfileparser.cpp	2010-05-12 19:35:03.692828442 +0100
  2371 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/pkgfileparser.cpp	2010-05-15 17:10:43.000000000 +0100
  2329 @@ -18,13 +18,15 @@
  2372 @@ -18,13 +18,16 @@
  2330  
  2373  
  2331  #include "sisutils.h"
  2374  #include "sisutils.h"
  2332  #include "pkgfileparser.h"
  2375  #include "pkgfileparser.h"
  2333 +#include <vector>
  2376 +#include <vector>
  2334 +#include <wchar.h>
  2377 +#include <wchar.h>
       
  2378 +#include <cstdlib>
  2335  
  2379  
  2336  // Parse options lookups
  2380  // Parse options lookups
  2337  #define MAXTOKENLEN	30
  2381  #define MAXTOKENLEN	30
  2338  struct SParseToken
  2382  struct SParseToken
  2339  {
  2383  {
  2342 +	wchar_t pszOpt[MAXTOKENLEN];
  2386 +	wchar_t pszOpt[MAXTOKENLEN];
  2343 +	unsigned dwOpt;
  2387 +	unsigned dwOpt;
  2344  };
  2388  };
  2345  
  2389  
  2346  const SParseToken KTokens[] =
  2390  const SParseToken KTokens[] =
  2347 @@ -46,6 +48,10 @@
  2391 @@ -46,6 +49,10 @@
  2348  };
  2392  };
  2349  #define NUMPARSETOKENS (sizeof(KTokens)/sizeof(SParseToken))
  2393  #define NUMPARSETOKENS (sizeof(KTokens)/sizeof(SParseToken))
  2350  
  2394  
  2351 +std::wstring string2wstring (const String& aNarrow);
  2395 +std::wstring string2wstring (const String& aNarrow);
  2352 +String wstring2string (const std::wstring& aWide);
  2396 +String wstring2string (const std::wstring& aWide);
  2353 +
  2397 +
  2354 +
  2398 +
  2355  /**
  2399  /**
  2356  Constructor: PkgParser class
  2400  Constructor: PkgParser class
  2357  Initilize the parameters to data members.
  2401  Initilize the parameters to data members.
  2358 @@ -68,9 +74,9 @@
  2402 @@ -68,9 +75,9 @@
  2359  */
  2403  */
  2360  PkgParser::~PkgParser()
  2404  PkgParser::~PkgParser()
  2361  {
  2405  {
  2362 -	if(iPkgHandle != INVALID_HANDLE_VALUE)
  2406 -	if(iPkgHandle != INVALID_HANDLE_VALUE)
  2363 +	if(iPkgHandle)
  2407 +	if(iPkgHandle)
  2365 -		::CloseHandle(iPkgHandle);
  2409 -		::CloseHandle(iPkgHandle);
  2366 +		std::fclose(iPkgHandle);
  2410 +		std::fclose(iPkgHandle);
  2367  	}
  2411  	}
  2368  
  2412  
  2369  	DeleteAll();
  2413  	DeleteAll();
  2370 @@ -84,9 +90,14 @@
  2414 @@ -84,9 +91,14 @@
  2371  */
  2415  */
  2372  int PkgParser::OpenFile()
  2416  int PkgParser::OpenFile()
  2373  {
  2417  {
  2374 -	iPkgHandle = ::CreateFileW(string2wstring(iPkgFile).data(),GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
  2418 -	iPkgHandle = ::CreateFileW(string2wstring(iPkgFile).data(),GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
  2375 +#ifdef WIN32
  2419 +#ifdef WIN32
  2382  	
  2426  	
  2383 -	return (iPkgHandle != INVALID_HANDLE_VALUE) ? 1 : 0;
  2427 -	return (iPkgHandle != INVALID_HANDLE_VALUE) ? 1 : 0;
  2384  }
  2428  }
  2385  
  2429  
  2386  /**
  2430  /**
  2387 @@ -164,7 +175,7 @@
  2431 @@ -164,7 +176,7 @@
  2388  {
  2432  {
  2389  	if(!OpenFile())
  2433  	if(!OpenFile())
  2390  	{
  2434  	{
  2391 -		throw SisUtilsException((char*)iPkgFile.data(), "Could not open file");
  2435 -		throw SisUtilsException((char*)iPkgFile.data(), "Could not open file");
  2392 +		throw SisUtilsException(iPkgFile.c_str(),"Could not open file");
  2436 +		throw SisUtilsException(iPkgFile.c_str(),"Could not open file");
  2393  	}
  2437  	}
  2394  
  2438  
  2395  	GetNextChar();
  2439  	GetNextChar();
  2396 @@ -273,7 +284,7 @@
  2440 @@ -273,7 +285,7 @@
  2397  	
  2441  	
  2398  	// process application names
  2442  	// process application names
  2399  	ExpectToken('{');
  2443  	ExpectToken('{');
  2400 -	for (WORD wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
  2444 -	for (WORD wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
  2401 +	for (unsigned short wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
  2445 +	for (unsigned short wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
  2402  	{
  2446  	{
  2403  		GetNextToken ();
  2447  		GetNextToken ();
  2404  		ExpectToken(QUOTED_STRING_TOKEN);
  2448  		ExpectToken(QUOTED_STRING_TOKEN);
  2405 @@ -771,7 +782,7 @@
  2449 @@ -771,7 +783,7 @@
  2406  */
  2450  */
  2407  void PkgParser::ParseOptionsBlockL()
  2451  void PkgParser::ParseOptionsBlockL()
  2408  {
  2452  {
  2409 -	WORD wNumLangs;
  2453 -	WORD wNumLangs;
  2410 +	unsigned short wNumLangs;
  2454 +	unsigned short wNumLangs;
  2411  	
  2455  	
  2412  	ExpectToken('(');
  2456  	ExpectToken('(');
  2413  	GetNextToken ();
  2457  	GetNextToken ();
  2414 @@ -838,7 +849,7 @@
  2458 @@ -838,7 +850,7 @@
  2415  void PkgParser::ParseVendorNameL()
  2459  void PkgParser::ParseVendorNameL()
  2416  {
  2460  {
  2417  	ExpectToken('{');
  2461  	ExpectToken('{');
  2418 -	for (WORD wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
  2462 -	for (WORD wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
  2419 +	for (unsigned short wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
  2463 +	for (unsigned short wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
  2420  	{
  2464  	{
  2421  		GetNextToken ();
  2465  		GetNextToken ();
  2422  		ExpectToken(QUOTED_STRING_TOKEN);
  2466  		ExpectToken(QUOTED_STRING_TOKEN);
  2423 @@ -990,14 +1001,8 @@
  2467 @@ -990,14 +1002,8 @@
  2424  */
  2468  */
  2425  void PkgParser::GetNextChar()
  2469  void PkgParser::GetNextChar()
  2426  {
  2470  {
  2427 -#ifdef WIN32
  2471 -#ifdef WIN32
  2428 -	DWORD dwBytesRead;
  2472 -	DWORD dwBytesRead;
  2435 +	wint_t wch = std::fgetwc(iPkgHandle);
  2479 +	wint_t wch = std::fgetwc(iPkgHandle);
  2436 +	m_pkgChar = (wch == WEOF) ? 0 : wch;
  2480 +	m_pkgChar = (wch == WEOF) ? 0 : wch;
  2437  }
  2481  }
  2438  
  2482  
  2439  /**
  2483  /**
  2440 @@ -1105,10 +1110,10 @@
  2484 @@ -1105,10 +1111,10 @@
  2441  */
  2485  */
  2442  bool PkgParser::GetStringToken()
  2486  bool PkgParser::GetStringToken()
  2443  {
  2487  {
  2444 -	DWORD wCount = 0;
  2488 -	DWORD wCount = 0;
  2445 +	unsigned wCount = 0;
  2489 +	unsigned wCount = 0;
  2448 -	DWORD escapeChars = 0;
  2492 -	DWORD escapeChars = 0;
  2449 +	unsigned escapeChars = 0;
  2493 +	unsigned escapeChars = 0;
  2450  	
  2494  	
  2451  	while (!finished)
  2495  	while (!finished)
  2452  	{
  2496  	{
  2453 @@ -1153,15 +1158,16 @@
  2497 @@ -1153,15 +1159,16 @@
  2454  @internalComponent
  2498  @internalComponent
  2455  @released
  2499  @released
  2456  */
  2500  */
  2457 -WORD PkgParser::ParseEscapeChars()
  2501 -WORD PkgParser::ParseEscapeChars()
  2458 +unsigned short PkgParser::ParseEscapeChars()
  2502 +unsigned short PkgParser::ParseEscapeChars()
  2470 +		std::fpos_t foff;
  2514 +		std::fpos_t foff;
  2471 +		std::fgetpos(iPkgHandle,&foff);
  2515 +		std::fgetpos(iPkgHandle,&foff);
  2472  		try
  2516  		try
  2473  		{
  2517  		{
  2474  			GetNextChar();
  2518  			GetNextChar();
  2475 @@ -1170,32 +1176,29 @@
  2519 @@ -1170,32 +1177,29 @@
  2476  				found++;
  2520  				found++;
  2477  			else
  2521  			else
  2478  			{
  2522  			{
  2479 -				::SetFilePointer(iPkgHandle, fileOffset, NULL, FILE_BEGIN);
  2523 -				::SetFilePointer(iPkgHandle, fileOffset, NULL, FILE_BEGIN);
  2480 +				std::fsetpos(iPkgHandle,&foff);
  2524 +				std::fsetpos(iPkgHandle,&foff);
  2508 -#error "TODO: Implement this function under other OS than Windows"
  2552 -#error "TODO: Implement this function under other OS than Windows"
  2509 -#endif 
  2553 -#endif 
  2510  	return found;
  2554  	return found;
  2511  }
  2555  }
  2512  
  2556  
  2513 @@ -1207,7 +1210,7 @@
  2557 @@ -1207,7 +1211,7 @@
  2514  */
  2558  */
  2515  void PkgParser::GetAlphaNumericToken()
  2559  void PkgParser::GetAlphaNumericToken()
  2516  {
  2560  {
  2517 -	WORD wCount = 0;
  2561 -	WORD wCount = 0;
  2518 +	unsigned short wCount = 0;
  2562 +	unsigned short wCount = 0;
  2519  	while(m_pkgChar && (isalnum(m_pkgChar) || ((m_pkgChar) == '_')))
  2563  	while(m_pkgChar && (isalnum(m_pkgChar) || ((m_pkgChar) == '_')))
  2520  	{
  2564  	{
  2521  		if(wCount < (MAX_STRING - 1))
  2565  		if(wCount < (MAX_STRING - 1))
  2522 @@ -1232,12 +1235,13 @@
  2566 @@ -1232,12 +1236,13 @@
  2523  	{
  2567  	{
  2524  		// we may have a number but we must look ahead one char to be certain
  2568  		// we may have a number but we must look ahead one char to be certain
  2525  		
  2569  		
  2526 -		WCHAR oldChar = m_pkgChar;
  2570 -		WCHAR oldChar = m_pkgChar;
  2527 -		DWORD fileOffset=::SetFilePointer(iPkgHandle, 0L, NULL, FILE_CURRENT);
  2571 -		DWORD fileOffset=::SetFilePointer(iPkgHandle, 0L, NULL, FILE_CURRENT);
  2534 -		::SetFilePointer(iPkgHandle,fileOffset,NULL,FILE_BEGIN);
  2578 -		::SetFilePointer(iPkgHandle,fileOffset,NULL,FILE_BEGIN);
  2535 +		std::fsetpos(iPkgHandle,&foff);
  2579 +		std::fsetpos(iPkgHandle,&foff);
  2536  	}
  2580  	}
  2537  	
  2581  	
  2538  	return lexemeIsNumber;
  2582  	return lexemeIsNumber;
  2539 @@ -1251,23 +1255,30 @@
  2583 @@ -1251,23 +1256,30 @@
  2540  */
  2584  */
  2541  void PkgParser::GetNumericToken()
  2585  void PkgParser::GetNumericToken()
  2542  {
  2586  {
  2543 -	WCHAR temp[MAX_STRING];
  2587 -	WCHAR temp[MAX_STRING];
  2544 -	LPWSTR end;
  2588 -	LPWSTR end;
  2575 +	std::fsetpos(iPkgHandle,&foff);
  2619 +	std::fsetpos(iPkgHandle,&foff);
  2576 +	std::fseek(iPkgHandle,(end-temp-1) * sizeof(wchar_t),SEEK_CUR);		
  2620 +	std::fseek(iPkgHandle,(end-temp-1) * sizeof(wchar_t),SEEK_CUR);		
  2577  	GetNextChar();
  2621  	GetNextChar();
  2578  }
  2622  }
  2579  
  2623  
  2580 @@ -1338,13 +1349,13 @@
  2624 @@ -1338,13 +1350,13 @@
  2581  
  2625  
  2582  @param msg - error message to be thrown
  2626  @param msg - error message to be thrown
  2583  */
  2627  */
  2584 -void PkgParser::ParserError(char* msg)
  2628 -void PkgParser::ParserError(char* msg)
  2585 +void PkgParser::ParserError(char const* msg)
  2629 +void PkgParser::ParserError(char const* msg)
  2591 -	throw SisUtilsException("PakageFile-Parser Error", (char*)(str.str()).data());
  2635 -	throw SisUtilsException("PakageFile-Parser Error", (char*)(str.str()).data());
  2592 +	throw SisUtilsException("PackageFile-Parser Error",str.str().c_str());
  2636 +	throw SisUtilsException("PackageFile-Parser Error",str.str().c_str());
  2593  }
  2637  }
  2594  
  2638  
  2595  /**
  2639  /**
  2596 @@ -1357,22 +1368,13 @@
  2640 @@ -1357,22 +1369,13 @@
  2597  */
  2641  */
  2598  String wstring2string (const std::wstring& aWide)
  2642  String wstring2string (const std::wstring& aWide)
  2599  {
  2643  {
  2600 -	int max = ::WideCharToMultiByte(CP_OEMCP,0,aWide.c_str(),aWide.length(),0,0,0,0);
  2644 -	int max = ::WideCharToMultiByte(CP_OEMCP,0,aWide.c_str(),aWide.length(),0,0,0,0);
  2601 -	String reply;
  2645 -	String reply;
  2619  	}
  2663  	}
  2620 +	String reply(&buffer[0]);
  2664 +	String reply(&buffer[0]);
  2621  	return reply;
  2665  	return reply;
  2622  }
  2666  }
  2623  
  2667  
  2624 @@ -1386,22 +1388,13 @@
  2668 @@ -1386,22 +1389,13 @@
  2625  */
  2669  */
  2626  std::wstring string2wstring (const String& aNarrow)
  2670  std::wstring string2wstring (const String& aNarrow)
  2627  {
  2671  {
  2628 -	int max = ::MultiByteToWideChar(CP_OEMCP,0,aNarrow.c_str(),aNarrow.length(),0,0);
  2672 -	int max = ::MultiByteToWideChar(CP_OEMCP,0,aNarrow.c_str(),aNarrow.length(),0,0);
  2629 -	std::wstring reply;
  2673 -	std::wstring reply;
  2647  	}
  2691  	}
  2648 +	std::wstring reply((wchar_t *)&buffer[0]);
  2692 +	std::wstring reply((wchar_t *)&buffer[0]);
  2649  	return reply;
  2693  	return reply;
  2650  }
  2694  }
  2651  
  2695  
  2652 @@ -1414,9 +1407,13 @@
  2696 @@ -1414,9 +1408,13 @@
  2653  @param string - first string
  2697  @param string - first string
  2654  @param option - second string
  2698  @param option - second string
  2655  */
  2699  */
  2656 -int CompareTwoString(wchar_t* string ,wchar_t* option)
  2700 -int CompareTwoString(wchar_t* string ,wchar_t* option)
  2657 +int CompareTwoString(wchar_t const * string ,wchar_t const * option)
  2701 +int CompareTwoString(wchar_t const * string ,wchar_t const * option)
  2662 +	return wcscasecmp(string,option);
  2706 +	return wcscasecmp(string,option);
  2663 +#endif
  2707 +#endif
  2664  }
  2708  }
  2665  
  2709  
  2666  /**
  2710  /**
  2667 @@ -1429,7 +1426,7 @@
  2711 @@ -1429,7 +1427,7 @@
  2668  @param option - second string
  2712  @param option - second string
  2669  @param len - no of wide characters to be compared
  2713  @param len - no of wide characters to be compared
  2670  */
  2714  */
  2671 -int CompareNString(wchar_t* string ,wchar_t* option, int len)
  2715 -int CompareNString(wchar_t* string ,wchar_t* option, int len)
  2672 +int CompareNString(wchar_t const * string ,wchar_t const * option, int len)
  2716 +int CompareNString(wchar_t const * string ,wchar_t const * option, int len)
  2674 -	return wcsnicmp(string,option,len);
  2718 -	return wcsnicmp(string,option,len);
  2675 +	return wmemcmp(string,option,len);
  2719 +	return wmemcmp(string,option,len);
  2676  }
  2720  }
  2677 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sis2iby.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sis2iby.cpp
  2721 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sis2iby.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sis2iby.cpp
  2678 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sis2iby.cpp	2010-05-13 19:14:23.545083223 +0100
  2722 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sis2iby.cpp	2010-05-13 19:14:23.545083223 +0100
  2679 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sis2iby.cpp	2010-05-12 20:09:54.737329069 +0100
  2723 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sis2iby.cpp	2010-05-15 17:08:28.000000000 +0100
  2680 @@ -28,7 +28,7 @@
  2724 @@ -18,6 +18,7 @@
       
  2725  
       
  2726  #include "sisutils.h"
       
  2727  #include "sis2iby.h"
       
  2728 +#include <cstdlib>
       
  2729  
       
  2730  /**
       
  2731  Constructor: Sis2Iby class
       
  2732 @@ -28,7 +29,7 @@
  2681  
  2733  
  2682  @param aFile	- SIS file name
  2734  @param aFile	- SIS file name
  2683  */
  2735  */
  2684 -Sis2Iby::Sis2Iby(char* aFile) : SisUtils(aFile)
  2736 -Sis2Iby::Sis2Iby(char* aFile) : SisUtils(aFile)
  2685 +Sis2Iby::Sis2Iby(char const* aFile) : SisUtils(aFile)
  2737 +Sis2Iby::Sis2Iby(char const* aFile) : SisUtils(aFile)
  2686  {
  2738  {
  2687  }
  2739  }
  2688  
  2740  
  2689 @@ -70,7 +70,7 @@
  2741 @@ -70,7 +71,7 @@
  2690  
  2742  
  2691  	if(IsVerboseMode())
  2743  	if(IsVerboseMode())
  2692  	{
  2744  	{
  2693 -		std::cout << "Processing " << (char*)sisFile.data() << std::endl;
  2745 -		std::cout << "Processing " << (char*)sisFile.data() << std::endl;
  2694 +		std::cout << "Processing " << sisFile.c_str() << std::endl;
  2746 +		std::cout << "Processing " << sisFile.c_str() << std::endl;
  2695  	}
  2747  	}
  2696  
  2748  
  2697  	if(IsFileExist(sisFile))
  2749  	if(IsFileExist(sisFile))
  2698 @@ -86,12 +86,12 @@
  2750 @@ -86,12 +87,12 @@
  2699  			break;
  2751  			break;
  2700  		case STAT_FAILURE:
  2752  		case STAT_FAILURE:
  2701  			{
  2753  			{
  2702 -				throw SisUtilsException((char*)sisFile.data(), "Failed to extract SIS file");
  2754 -				throw SisUtilsException((char*)sisFile.data(), "Failed to extract SIS file");
  2703 +				throw SisUtilsException(sisFile.c_str(),"Failed to extract SIS file");
  2755 +				throw SisUtilsException(sisFile.c_str(),"Failed to extract SIS file");
  2708 -		throw SisUtilsException((char*)sisFile.data(), "File not found");
  2760 -		throw SisUtilsException((char*)sisFile.data(), "File not found");
  2709 +		throw SisUtilsException(sisFile.c_str(),"File not found");
  2761 +		throw SisUtilsException(sisFile.c_str(),"File not found");
  2710  }
  2762  }
  2711  
  2763  
  2712  /**
  2764  /**
  2713 @@ -128,18 +128,18 @@
  2765 @@ -128,18 +129,18 @@
  2714  	ibyFile.append(".iby");
  2766  	ibyFile.append(".iby");
  2715  
  2767  
  2716  	if( !MakeDirectory(iOutputPath) )
  2768  	if( !MakeDirectory(iOutputPath) )
  2717 -		throw SisUtilsException((char*)iOutputPath.data(), "Failed to create path");
  2769 -		throw SisUtilsException((char*)iOutputPath.data(), "Failed to create path");
  2718 +		throw SisUtilsException(iOutputPath.c_str(),"Failed to create path");
  2770 +		throw SisUtilsException(iOutputPath.c_str(),"Failed to create path");
  2730 -		throw SisUtilsException((char*)ibyFile.data(), "Failed to create IBY file");
  2782 -		throw SisUtilsException((char*)ibyFile.data(), "Failed to create IBY file");
  2731 +		throw SisUtilsException(ibyFile.c_str(),"Failed to create IBY file");
  2783 +		throw SisUtilsException(ibyFile.c_str(),"Failed to create IBY file");
  2732  	}
  2784  	}
  2733  
  2785  
  2734  	// Generating Header
  2786  	// Generating Header
  2735 @@ -239,10 +239,10 @@
  2787 @@ -239,10 +240,10 @@
  2736  			}
  2788  			}
  2737  		}
  2789  		}
  2738  		else
  2790  		else
  2739 -			throw SisUtilsException((char*)pkgFileName.data(), "Could not create parser object");
  2791 -			throw SisUtilsException((char*)pkgFileName.data(), "Could not create parser object");
  2740 +			throw SisUtilsException(pkgFileName.c_str(),"Could not create parser object");
  2792 +			throw SisUtilsException(pkgFileName.c_str(),"Could not create parser object");
  2743 -		throw SisUtilsException((char*)pkgFileName.data(), "File not found");
  2795 -		throw SisUtilsException((char*)pkgFileName.data(), "File not found");
  2744 +		throw SisUtilsException(pkgFileName.c_str(),"File not found");
  2796 +		throw SisUtilsException(pkgFileName.c_str(),"File not found");
  2745  }
  2797  }
  2746  
  2798  
  2747  /**
  2799  /**
  2748 @@ -551,7 +551,12 @@
  2800 @@ -551,7 +552,12 @@
  2749  		aFile.assign(fPath);
  2801  		aFile.assign(fPath);
  2750  	}
  2802  	}
  2751  #else
  2803  #else
  2752 -#error "TODO: Implement this function under other OS than Windows"
  2804 -#error "TODO: Implement this function under other OS than Windows"
  2753 +	char fPath[FILENAME_MAX];
  2805 +	char fPath[FILENAME_MAX];
  2757 +	}
  2809 +	}
  2758 +
  2810 +
  2759  #endif
  2811  #endif
  2760  	return;
  2812  	return;
  2761  }
  2813  }
  2762 @@ -652,7 +657,7 @@
  2814 @@ -652,7 +658,7 @@
  2763  
  2815  
  2764  	if( !aIfs.is_open() )
  2816  	if( !aIfs.is_open() )
  2765  	{
  2817  	{
  2766 -		throw SisUtilsException((char*)aFile.data(), "Cannot open file");
  2818 -		throw SisUtilsException((char*)aFile.data(), "Cannot open file");
  2767 +		throw SisUtilsException(aFile.c_str(),"Cannot open file");
  2819 +		throw SisUtilsException(aFile.c_str(),"Cannot open file");
  2768  	}
  2820  	}
  2769  
  2821  
  2770  	aIfs.seekg(0,std::ios::end);
  2822  	aIfs.seekg(0,std::ios::end);
  2771 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sisutils.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sisutils.cpp
  2823 diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sisutils.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sisutils.cpp
  2772 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sisutils.cpp	2010-05-13 19:14:23.549082823 +0100
  2824 --- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sisutils.cpp	2010-05-13 19:14:23.549082823 +0100
  2773 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sisutils.cpp	2010-05-12 20:02:59.113330633 +0100
  2825 +++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sisutils.cpp	2010-05-15 17:05:31.000000000 +0100
  2774 @@ -20,6 +20,13 @@
  2826 @@ -20,6 +20,13 @@
  2775  #include <windows.h>
  2827  #include <windows.h>
  2776  #include <direct.h>
  2828  #include <direct.h>
  2777  #endif
  2829  #endif
  2778 +#ifdef __LINUX__
  2830 +#ifdef __LINUX__
  2825 +		{
  2877 +		{
  2826 +			token = &*pch;
  2878 +			token = &*pch;
  2827 +			args.push_back(token);
  2879 +			args.push_back(token);
  2828 +		}  
  2880 +		}  
  2829 +	}
  2881 +	}
  2830 +	args.push_back(NULL);
  2882 +	args.push_back((char *)NULL);
  2831 +    pid_t pid = fork();
  2883 +    pid_t pid = fork();
  2832 +    if (pid == 0)
  2884 +    if (pid == 0)
  2833 +	{
  2885 +	{
  2834 +        execv(args[0],&args[0]);
  2886 +        execv(args[0],&args[0]);
  2835 +    }
  2887 +    }