author | pavel heimlich<Pavel.Heimlich@Oracle.COM> |
Fri, 09 Nov 2012 03:55:37 -0800 | |
branch | s11-update |
changeset 2421 | b8903076d1c2 |
parent 518 | 6168fc9cded3 |
permissions | -rw-r--r-- |
518
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
1 |
--- libxml2-2.7.6/xpath.c Sun Sep 11 04:17:41 2011 |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
2 |
+++ libxml2-2.7.6/xpath.c.new Sun Sep 11 04:38:33 2011 |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
3 |
@@ -3522,13 +3522,13 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
4 |
} else if (cur->nodeNr == cur->nodeMax) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
5 |
xmlNodePtr *temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
6 |
|
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
7 |
- cur->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
8 |
- temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
9 |
+ temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * 2 * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
10 |
sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
11 |
if (temp == NULL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
12 |
xmlXPathErrMemory(NULL, "growing nodeset\n"); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
13 |
return; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
14 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
15 |
+ cur->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
16 |
cur->nodeTab = temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
17 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
18 |
cur->nodeTab[cur->nodeNr++] = xmlXPathNodeSetDupNs(node, ns); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
19 |
@@ -3575,8 +3575,7 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
20 |
} else if (cur->nodeNr == cur->nodeMax) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
21 |
xmlNodePtr *temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
22 |
|
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
23 |
- cur->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
24 |
- temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
25 |
+ temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * 2 * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
26 |
sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
27 |
if (temp == NULL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
28 |
xmlXPathErrMemory(NULL, "growing nodeset\n"); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
29 |
@@ -3583,6 +3582,7 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
30 |
return; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
31 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
32 |
cur->nodeTab = temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
33 |
+ cur->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
34 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
35 |
if (val->type == XML_NAMESPACE_DECL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
36 |
xmlNsPtr ns = (xmlNsPtr) val; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
37 |
@@ -3627,8 +3627,7 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
38 |
} else if (cur->nodeNr == cur->nodeMax) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
39 |
xmlNodePtr *temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
40 |
|
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
41 |
- cur->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
42 |
- temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
43 |
+ temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * 2 * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
44 |
sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
45 |
if (temp == NULL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
46 |
xmlXPathErrMemory(NULL, "growing nodeset\n"); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
47 |
@@ -3635,6 +3634,7 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
48 |
return; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
49 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
50 |
cur->nodeTab = temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
51 |
+ cur->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
52 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
53 |
if (val->type == XML_NAMESPACE_DECL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
54 |
xmlNsPtr ns = (xmlNsPtr) val; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
55 |
@@ -3738,8 +3738,7 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
56 |
} else if (val1->nodeNr == val1->nodeMax) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
57 |
xmlNodePtr *temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
58 |
|
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
59 |
- val1->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
60 |
- temp = (xmlNodePtr *) xmlRealloc(val1->nodeTab, val1->nodeMax * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
61 |
+ temp = (xmlNodePtr *) xmlRealloc(val1->nodeTab, val1->nodeMax * 2 * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
62 |
sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
63 |
if (temp == NULL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
64 |
xmlXPathErrMemory(NULL, "merging nodeset\n"); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
65 |
@@ -3746,6 +3745,7 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
66 |
return(NULL); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
67 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
68 |
val1->nodeTab = temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
69 |
+ val1->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
70 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
71 |
if (n2->type == XML_NAMESPACE_DECL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
72 |
xmlNsPtr ns = (xmlNsPtr) n2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
73 |
@@ -3800,8 +3800,7 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
74 |
} else if (val1->nodeNr == val1->nodeMax) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
75 |
xmlNodePtr *temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
76 |
|
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
77 |
- val1->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
78 |
- temp = (xmlNodePtr *) xmlRealloc(val1->nodeTab, val1->nodeMax * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
79 |
+ temp = (xmlNodePtr *) xmlRealloc(val1->nodeTab, val1->nodeMax * 2 * |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
80 |
sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
81 |
if (temp == NULL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
82 |
xmlXPathErrMemory(NULL, "merging nodeset\n"); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
83 |
@@ -3808,6 +3807,7 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
84 |
return(NULL); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
85 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
86 |
val1->nodeTab = temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
87 |
+ val1->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
88 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
89 |
if (val2->nodeTab[i]->type == XML_NAMESPACE_DECL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
90 |
xmlNsPtr ns = (xmlNsPtr) val2->nodeTab[i]; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
91 |
@@ -3907,14 +3907,14 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
92 |
} else if (set1->nodeNr >= set1->nodeMax) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
93 |
xmlNodePtr *temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
94 |
|
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
95 |
- set1->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
96 |
temp = (xmlNodePtr *) xmlRealloc( |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
97 |
- set1->nodeTab, set1->nodeMax * sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
98 |
+ set1->nodeTab, set1->nodeMax * 2 * sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
99 |
if (temp == NULL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
100 |
xmlXPathErrMemory(NULL, "merging nodeset\n"); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
101 |
return(NULL); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
102 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
103 |
set1->nodeTab = temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
104 |
+ set1->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
105 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
106 |
if (n2->type == XML_NAMESPACE_DECL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
107 |
xmlNsPtr ns = (xmlNsPtr) n2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
108 |
@@ -3991,14 +3991,14 @@ |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
109 |
} else if (set1->nodeNr >= set1->nodeMax) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
110 |
xmlNodePtr *temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
111 |
|
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
112 |
- set1->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
113 |
temp = (xmlNodePtr *) xmlRealloc( |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
114 |
- set1->nodeTab, set1->nodeMax * sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
115 |
+ set1->nodeTab, set1->nodeMax * 2 * sizeof(xmlNodePtr)); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
116 |
if (temp == NULL) { |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
117 |
xmlXPathErrMemory(NULL, "merging nodeset\n"); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
118 |
return(NULL); |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
119 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
120 |
set1->nodeTab = temp; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
121 |
+ set1->nodeMax *= 2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
122 |
} |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
123 |
set1->nodeTab[set1->nodeNr++] = n2; |
6168fc9cded3
7058578 Problem with library/libxml
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
124 |
} |