11diff --git a/parser.c b/parser.c
2- index 1a0ff156..ee20a380 100644
2+ index 10695ecf..70b2bf74 100644
33--- a/parser.c
44+++ b/parser.c
5- @@ -7604 ,7 +7604 ,7 @@ xmlHandleUndeclaredEntity(xmlParserCtxtPtr ctxt, const xmlChar *name) {
5+ @@ -7612 ,7 +7612 ,7 @@ xmlHandleUndeclaredEntity(xmlParserCtxtPtr ctxt, const xmlChar *name) {
66
77 static xmlEntityPtr
88 xmlLookupGeneralEntity(xmlParserCtxtPtr ctxt, const xmlChar *name, int inAttr) {
@@ -11,7 +11,7 @@ index 1a0ff156..ee20a380 100644
1111
1212 /*
1313 * Predefined entities override any extra definition
14- @@ -9349 ,7 +9349 ,7 @@ next_attr:
14+ @@ -9357 ,7 +9357 ,7 @@ next_attr:
1515 if (defaults != NULL) {
1616 for (i = 0; i < defaults->nbAttrs; i++) {
1717 xmlDefAttr *attr = &defaults->attrs[i];
@@ -20,24 +20,6 @@ index 1a0ff156..ee20a380 100644
2020 unsigned hashValue, uriHashValue;
2121 int res;
2222
23- diff --git a/xmlIO.c b/xmlIO.c
24- index 640d909c..02506207 100644
25- --- a/xmlIO.c
26- +++ b/xmlIO.c
27- @@ -2903,11 +2903,13 @@ xmlParserGetDirectory(const char *filename) {
28- if (cur == dir) dir[1] = 0;
29- else *cur = 0;
30- ret = xmlMemStrdup(dir);
31- + #if !defined(WINAPI_FAMILY_PARTITION) || !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) || WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
32- } else {
33- if (getcwd(dir, 1024) != NULL) {
34- dir[1023] = 0;
35- ret = xmlMemStrdup(dir);
36- }
37- + #endif
38- }
39- return(ret);
40- #undef IS_XMLPGD_SEP
4123diff --git a/xmlmodule.c b/xmlmodule.c
4224index dd2fd7a5..a80bac1f 100644
4325--- a/xmlmodule.c
0 commit comments