Skip to content

Commit 4155d71

Browse files
committed
project: Update for 2.9.12 merge.
1 parent 2b706c4 commit 4155d71

File tree

3 files changed

+111
-25
lines changed

3 files changed

+111
-25
lines changed

SMP/SMP.patch

Lines changed: 104 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/catalog.c b/catalog.c
2-
index 7328fd31..ab1b7492 100644
2+
index effbb2e6..f450c688 100644
33
--- a/catalog.c
44
+++ b/catalog.c
55
@@ -77,6 +77,10 @@
@@ -13,7 +13,7 @@ index 7328fd31..ab1b7492 100644
1313
#undef XML_XML_DEFAULT_CATALOG
1414
static char XML_XML_DEFAULT_CATALOG[256] = "file:///etc/xml/catalog";
1515
#if defined(_WIN32_WCE)
16-
@@ -3124,12 +3128,17 @@ xmlInitializeCatalog(void) {
16+
@@ -3123,12 +3127,17 @@ xmlInitializeCatalog(void) {
1717

1818
catalogs = (const char *) getenv("XML_CATALOG_FILES");
1919
if (catalogs == NULL)
@@ -35,7 +35,7 @@ index 7328fd31..ab1b7492 100644
3535
char buf[256];
3636
unsigned long len = GetModuleFileNameA(hmodule, buf, 255);
3737
diff --git a/nanohttp.c b/nanohttp.c
38-
index 018b7e18..68930397 100644
38+
index 8e840f58..1777960b 100644
3939
--- a/nanohttp.c
4040
+++ b/nanohttp.c
4141
@@ -77,6 +77,13 @@
@@ -52,8 +52,106 @@ index 018b7e18..68930397 100644
5252
#include <libxml/globals.h>
5353
#include <libxml/xmlerror.h>
5454
#include <libxml/xmlmemory.h>
55+
diff --git a/win32/libxml2.def.src b/win32/libxml2.def.src
56+
index 1e771e85..47ae6a58 100644
57+
--- a/win32/libxml2.def.src
58+
+++ b/win32/libxml2.def.src
59+
@@ -11,10 +11,10 @@ __docbDefaultSAXHandler
60+
docbDefaultSAXHandler DATA
61+
#endif
62+
#endif
63+
-#ifdef LIBXML_REGEXP_ENABLED
64+
+#ifdef LIBXML_EXPR_ENABLED
65+
emptyExp DATA
66+
#endif
67+
-#ifdef LIBXML_REGEXP_ENABLED
68+
+#ifdef LIBXML_EXPR_ENABLED
69+
forbiddenExp DATA
70+
#endif
71+
#ifdef LIBXML_THREAD_ENABLED
72+
@@ -803,61 +803,61 @@ xmlEncodeEntities
73+
xmlEncodeEntitiesReentrant
74+
xmlEncodeSpecialChars
75+
xmlErrMemory
76+
-#ifdef LIBXML_REGEXP_ENABLED
77+
+#ifdef LIBXML_EXPR_ENABLED
78+
xmlExpCtxtNbCons
79+
#endif
80+
-#ifdef LIBXML_REGEXP_ENABLED
81+
+#ifdef LIBXML_EXPR_ENABLED
82+
xmlExpCtxtNbNodes
83+
#endif
84+
-#ifdef LIBXML_REGEXP_ENABLED
85+
+#ifdef LIBXML_EXPR_ENABLED
86+
xmlExpDump
87+
#endif
88+
-#ifdef LIBXML_REGEXP_ENABLED
89+
+#ifdef LIBXML_EXPR_ENABLED
90+
xmlExpExpDerive
91+
#endif
92+
-#ifdef LIBXML_REGEXP_ENABLED
93+
+#ifdef LIBXML_EXPR_ENABLED
94+
xmlExpFree
95+
#endif
96+
-#ifdef LIBXML_REGEXP_ENABLED
97+
+#ifdef LIBXML_EXPR_ENABLED
98+
xmlExpFreeCtxt
99+
#endif
100+
-#ifdef LIBXML_REGEXP_ENABLED
101+
+#ifdef LIBXML_EXPR_ENABLED
102+
xmlExpGetLanguage
103+
#endif
104+
-#ifdef LIBXML_REGEXP_ENABLED
105+
+#ifdef LIBXML_EXPR_ENABLED
106+
xmlExpGetStart
107+
#endif
108+
-#ifdef LIBXML_REGEXP_ENABLED
109+
+#ifdef LIBXML_EXPR_ENABLED
110+
xmlExpIsNillable
111+
#endif
112+
-#ifdef LIBXML_REGEXP_ENABLED
113+
+#ifdef LIBXML_EXPR_ENABLED
114+
xmlExpMaxToken
115+
#endif
116+
-#ifdef LIBXML_REGEXP_ENABLED
117+
+#ifdef LIBXML_EXPR_ENABLED
118+
xmlExpNewAtom
119+
#endif
120+
-#ifdef LIBXML_REGEXP_ENABLED
121+
+#ifdef LIBXML_EXPR_ENABLED
122+
xmlExpNewCtxt
123+
#endif
124+
-#ifdef LIBXML_REGEXP_ENABLED
125+
+#ifdef LIBXML_EXPR_ENABLED
126+
xmlExpNewOr
127+
#endif
128+
-#ifdef LIBXML_REGEXP_ENABLED
129+
+#ifdef LIBXML_EXPR_ENABLED
130+
xmlExpNewRange
131+
#endif
132+
-#ifdef LIBXML_REGEXP_ENABLED
133+
+#ifdef LIBXML_EXPR_ENABLED
134+
xmlExpNewSeq
135+
#endif
136+
-#ifdef LIBXML_REGEXP_ENABLED
137+
+#ifdef LIBXML_EXPR_ENABLED
138+
xmlExpParse
139+
#endif
140+
-#ifdef LIBXML_REGEXP_ENABLED
141+
+#ifdef LIBXML_EXPR_ENABLED
142+
xmlExpRef
143+
#endif
144+
-#ifdef LIBXML_REGEXP_ENABLED
145+
+#ifdef LIBXML_EXPR_ENABLED
146+
xmlExpStringDerive
147+
#endif
148+
-#ifdef LIBXML_REGEXP_ENABLED
149+
+#ifdef LIBXML_EXPR_ENABLED
150+
xmlExpSubsume
151+
#endif
152+
xmlFileClose
55153
diff --git a/xmlIO.c b/xmlIO.c
56-
index 752d5e0a..51fc8b96 100644
154+
index 57312b97..e2a879c7 100644
57155
--- a/xmlIO.c
58156
+++ b/xmlIO.c
59157
@@ -43,12 +43,20 @@
@@ -77,7 +175,7 @@ index 752d5e0a..51fc8b96 100644
77175
#ifndef S_ISDIR
78176
# ifdef _S_ISDIR
79177
# define S_ISDIR(x) _S_ISDIR(x)
80-
@@ -3762,11 +3770,13 @@ xmlParserGetDirectory(const char *filename) {
178+
@@ -3777,11 +3785,13 @@ xmlParserGetDirectory(const char *filename) {
81179
if (cur == dir) dir[1] = 0;
82180
else *cur = 0;
83181
ret = xmlMemStrdup(dir);
@@ -91,20 +189,8 @@ index 752d5e0a..51fc8b96 100644
91189
}
92190
return(ret);
93191
#undef IS_XMLPGD_SEP
94-
diff --git a/xmlcatalog.c b/xmlcatalog.c
95-
index c02b97f6..2039f9ce 100644
96-
--- a/xmlcatalog.c
97-
+++ b/xmlcatalog.c
98-
@@ -6,6 +6,7 @@
99-
100-
*/
101-
102-
+#define IN_LIBXML
103-
#include "libxml.h"
104-
105-
#include <string.h>
106192
diff --git a/xmlmemory.c b/xmlmemory.c
107-
index 6f16c4b3..efed9920 100644
193+
index c51f49ae..5387917a 100644
108194
--- a/xmlmemory.c
109195
+++ b/xmlmemory.c
110196
@@ -56,6 +56,13 @@ static xmlMutexPtr xmlMemMutex = NULL;

SMP/libxml/xmlversion.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,36 +29,36 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
2929
*
3030
* the version string like "1.2.3"
3131
*/
32-
#define LIBXML_DOTTED_VERSION "2.9.11"
32+
#define LIBXML_DOTTED_VERSION "2.9.12"
3333

3434
/**
3535
* LIBXML_VERSION:
3636
*
3737
* the version number: 1.2.3 value is 10203
3838
*/
39-
#define LIBXML_VERSION 209011
39+
#define LIBXML_VERSION 209012
4040

4141
/**
4242
* LIBXML_VERSION_STRING:
4343
*
4444
* the version number string, 1.2.3 value is "10203"
4545
*/
46-
#define LIBXML_VERSION_STRING "209011"
46+
#define LIBXML_VERSION_STRING "209012"
4747

4848
/**
4949
* LIBXML_VERSION_EXTRA:
5050
*
5151
* extra version information, used to show a CVS compilation
5252
*/
53-
#define LIBXML_VERSION_EXTRA "-GITv2.9.11"
53+
#define LIBXML_VERSION_EXTRA "-GITv2.9.12"
5454

5555
/**
5656
* LIBXML_TEST_VERSION:
5757
*
5858
* Macro to check that the libxml version in use is compatible with
5959
* the version the software has been compiled against
6060
*/
61-
#define LIBXML_TEST_VERSION xmlCheckVersion(209011);
61+
#define LIBXML_TEST_VERSION xmlCheckVersion(209012);
6262

6363
#ifndef VMS
6464
#if 0

SMP/rcVersion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
#define LIBXML_MAJOR_VERSION 2
77
#define LIBXML_MINOR_VERSION 9
8-
#define LIBXML_MICRO_VERSION 11
9-
#define LIBXML_DOTTED_VERSION "2.9.11"
8+
#define LIBXML_MICRO_VERSION 12
9+
#define LIBXML_DOTTED_VERSION "2.9.12"

0 commit comments

Comments
 (0)