dbertoni    2005/04/01 09:36:25

  Modified:    c/src/xercesc/util/regx RegularExpression.cpp RegxUtil.cpp
  Log:
  Fix for Jira issue XERCESC-1389.
  
  Revision  Changes    Path
  1.24      +4 -1      xml-xerces/c/src/xercesc/util/regx/RegularExpression.cpp
  
  Index: RegularExpression.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/regx/RegularExpression.cpp,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- RegularExpression.cpp     8 Sep 2004 13:56:47 -0000       1.23
  +++ RegularExpression.cpp     1 Apr 2005 17:36:25 -0000       1.24
  @@ -16,6 +16,9 @@
   
   /*
    * $Log$
  + * Revision 1.24  2005/04/01 17:36:25  dbertoni
  + * Fix for Jira issue XERCESC-1389.
  + *
    * Revision 1.23  2004/09/08 13:56:47  peiyongz
    * Apache License Version 2.0
    *
  @@ -1613,7 +1616,7 @@
                if (fFixedString != 0) {
   
                        fBMPattern = new (fMemoryManager) 
BMPattern(fFixedString, 256,
  -                                                                        
isSet(fixedOpts, IGNORE_CASE));
  +                                                                        
isSet(fixedOpts, IGNORE_CASE), fMemoryManager);
                }
        }
   }
  
  
  
  1.6       +5 -2      xml-xerces/c/src/xercesc/util/regx/RegxUtil.cpp
  
  Index: RegxUtil.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/regx/RegxUtil.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- RegxUtil.cpp      8 Sep 2004 13:56:47 -0000       1.5
  +++ RegxUtil.cpp      1 Apr 2005 17:36:25 -0000       1.6
  @@ -16,6 +16,9 @@
   
   /*
    * $Log$
  + * Revision 1.6  2005/04/01 17:36:25  dbertoni
  + * Fix for Jira issue XERCESC-1389.
  + *
    * Revision 1.5  2004/09/08 13:56:47  peiyongz
    * Apache License Version 2.0
    *
  @@ -67,8 +70,8 @@
   XMLCh* RegxUtil::stripExtendedComment(const XMLCh* const expression,
                                         MemoryManager* const manager) {
   
  -    XMLCh* buffer = (manager) ? XMLString::replicate(expression)
  -                              : XMLString::replicate(expression, manager);
  +    XMLCh* buffer = (manager) ? XMLString::replicate(expression, manager)
  +                              : XMLString::replicate(expression);
   
       if (buffer)
       {
  
  
  

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

Reply via email to