You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2003/06/02 17:18:09 UTC

cvs commit: xml-xerces/c/src/xercesc/dom/impl DOMDeepNodeListPool.c

neilg       2003/06/02 08:18:08

  Modified:    c/src/xercesc/util RefHash3KeysIdPool.c
               c/src/xercesc/dom/impl DOMDeepNodeListPool.c
  Log:
  fix for bug #20092; thanks to Berin Lautenbach
  
  Revision  Changes    Path
  1.6       +8 -0      xml-xerces/c/src/xercesc/util/RefHash3KeysIdPool.c
  
  Index: RefHash3KeysIdPool.c
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHash3KeysIdPool.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- RefHash3KeysIdPool.c	21 May 2003 21:08:04 -0000	1.5
  +++ RefHash3KeysIdPool.c	2 Jun 2003 15:18:08 -0000	1.6
  @@ -56,6 +56,9 @@
   
   /**
    * $Log$
  + * Revision 1.6  2003/06/02 15:18:08  neilg
  + * fix for bug #20092; thanks to Berin Lautenbach
  + *
    * Revision 1.5  2003/05/21 21:08:04  knoaman
    * gcc 2.95.x is generating an internal error for some template definitions, so
    * we use the default memory manger in such cases.
  @@ -118,7 +121,11 @@
       initialize(modulus);
   
       // create default hasher
  +#if defined (XML_GCC_VERSION) && (XML_GCC_VERSION < 29600)
  +		 fHash = new HashXMLCh();
  +#else
       fHash = new (fMemoryManager) HashXMLCh();
  +#endif
   
       //
       //  Allocate the initial id pointers array. We don't have to zero them
  
  
  
  1.8       +5 -2      xml-xerces/c/src/xercesc/dom/impl/DOMDeepNodeListPool.c
  
  Index: DOMDeepNodeListPool.c
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMDeepNodeListPool.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DOMDeepNodeListPool.c	21 May 2003 21:08:03 -0000	1.7
  +++ DOMDeepNodeListPool.c	2 Jun 2003 15:18:08 -0000	1.8
  @@ -90,8 +90,11 @@
       initialize(modulus);
   
       // create default hasher
  +#if defined (XML_GCC_VERSION) && (XML_GCC_VERSION < 29600)
  +    fHash = new HashPtr();
  +#else
       fHash = new (fMemoryManager) HashPtr();
  -
  +#endif
       //
       //  Allocate the initial id pointers array. We don't have to zero them
       //  out since the fIdCounter value tells us which ones are valid. The
  
  
  

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