You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2001/10/15 22:18:32 UTC

cvs commit: xml-xerces/c/src/util/regx XMLRangeFactory.cpp

knoaman     01/10/15 13:18:32

  Modified:    c/src/util/regx XMLRangeFactory.cpp
  Log:
  Fix for bug 4177.
  
  Revision  Changes    Path
  1.4       +5 -1      xml-xerces/c/src/util/regx/XMLRangeFactory.cpp
  
  Index: XMLRangeFactory.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/regx/XMLRangeFactory.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLRangeFactory.cpp	2001/05/11 13:26:52	1.3
  +++ XMLRangeFactory.cpp	2001/10/15 20:18:32	1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: XMLRangeFactory.cpp,v $
  + * Revision 1.4  2001/10/15 20:18:32  knoaman
  + * Fix for bug 4177.
  + *
    * Revision 1.3  2001/05/11 13:26:52  tng
    * Copyright update.
    *
  @@ -118,7 +121,8 @@
   
       // And then the singles until we hit its terminator
       while (*pchCur) {
  -        rangeTok->addRange(*pchCur, *pchCur++);
  +        const XMLCh chSingle = *pchCur++;
  +        rangeTok->addRange(chSingle, chSingle);
       }
   }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org