knoaman     2003/01/29 07:00:01

  Modified:    c/src/xercesc/internal IANAEncodings.hpp
               c/tools/IANACharset IANACharset.cpp
  Log:
  [Bug 15787] Reduce array size to reduce memory footprint.
  
  Revision  Changes    Path
  1.3       +1 -1      xml-xerces/c/src/xercesc/internal/IANAEncodings.hpp
  
  Index: IANAEncodings.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/IANAEncodings.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IANAEncodings.hpp 4 Nov 2002 14:58:18 -0000       1.2
  +++ IANAEncodings.hpp 29 Jan 2003 14:59:58 -0000      1.3
  @@ -10,7 +10,7 @@
   //  so do not edit this file directly!!
   // ----------------------------------------------------------------
   
  -const XMLCh gEncodingArray[][128] =
  +const XMLCh gEncodingArray[][46] =
   {
       { 
0x0041,0x004E,0x0053,0x0049,0x005F,0x0058,0x0033,0x002E,0x0034,0x002D,0x0031,0x0039,0x0036,0x0038,0x00
 }
     , { 0x0069,0x0073,0x006F,0x002D,0x0069,0x0072,0x002D,0x0036,0x00 }
  
  
  
  1.3       +4 -1      xml-xerces/c/tools/IANACharset/IANACharset.cpp
  
  Index: IANACharset.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tools/IANACharset/IANACharset.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IANACharset.cpp   4 Nov 2002 15:24:50 -0000       1.2
  +++ IANACharset.cpp   29 Jan 2003 15:00:01 -0000      1.3
  @@ -57,6 +57,9 @@
   
   /*
    * $Log$
  + * Revision 1.3  2003/01/29 15:00:01  knoaman
  + * [Bug 15787] Reduce array size to reduce memory footprint.
  + *
    * Revision 1.2  2002/11/04 15:24:50  tng
    * C++ Namespace Support.
    *
  @@ -223,7 +226,7 @@
       //  Output the leading part of the array declaration. Its just an
       //  array of pointers to Unicode chars.
       //
  -    fwprintf(gOutFile, L"const XMLCh gEncodingArray[][128] = \n{\n");
  +    fwprintf(gOutFile, L"const XMLCh gEncodingArray[][46] = \n{\n");
   
       //
       // Reset first element trigger
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to