dbertoni    00/07/25 07:43:46

  Modified:    c/src/ICUBridge ICUBridge.cpp
  Log:
  Compare using null-terminated arrays instead of strings, if possible.
  
  Revision  Changes    Path
  1.5       +7 -0      xml-xalan/c/src/ICUBridge/ICUBridge.cpp
  
  Index: ICUBridge.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/ICUBridge/ICUBridge.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ICUBridge.cpp     2000/07/12 21:45:38     1.4
  +++ ICUBridge.cpp     2000/07/25 14:43:45     1.5
  @@ -305,8 +305,15 @@
        {
                // OK, do the compare...
                return theCollator->compare(
  +#if defined(XALAN_ICU_BRIDGE_UCHAR_MISMATCH)
                                        
XalanDOMCharStringToUnicodeString(theLHS),
                                        
XalanDOMCharStringToUnicodeString(theRHS));
  +#else
  +                                     theLHS,
  +                                     length(theLHS),
  +                                     theRHS,
  +                                     length(theRHS));
  +#endif
        }
        else
        {
  
  
  

Reply via email to