11diff --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);
3737diff --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
55153diff --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>
106192diff --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;
0 commit comments