aboutsummaryrefslogtreecommitdiff
path: root/textproc/xerces-c2-devel/files/patch-ab
blob: 6358303a748d3c615dcdba1c161d8a9f4166998f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- src/xercesc/dom/impl/DOMDeepNodeListPool.c		Tue Jun 17 22:09:06 2003
+++ src.cvs/xercesc/dom/impl/DOMDeepNodeListPool.c	Tue Jun 17 22:09:39 2003
@@ -90,7 +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
--- src/xercesc/util/RefHash3KeysIdPool.c	Tue Jun 17 22:12:13 2003
+++ src.cvs/xercesc/util/RefHash3KeysIdPool.c	Sun Jun 15 09:57:39 2003
@@ -56,6 +56,9 @@
 
 /**
  * $Log: RefHash3KeysIdPool.c,v $
+ * 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