Skip to content

Commit

Permalink
project: Update for 2.13.3 merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibras committed Oct 19, 2024
1 parent 5425df8 commit f2f90ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 28 deletions.
24 changes: 3 additions & 21 deletions SMP/SMP.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/parser.c b/parser.c
index 1a0ff156..ee20a380 100644
index 10695ecf..70b2bf74 100644
--- a/parser.c
+++ b/parser.c
@@ -7604,7 +7604,7 @@ xmlHandleUndeclaredEntity(xmlParserCtxtPtr ctxt, const xmlChar *name) {
@@ -7612,7 +7612,7 @@ xmlHandleUndeclaredEntity(xmlParserCtxtPtr ctxt, const xmlChar *name) {

static xmlEntityPtr
xmlLookupGeneralEntity(xmlParserCtxtPtr ctxt, const xmlChar *name, int inAttr) {
Expand All @@ -11,7 +11,7 @@ index 1a0ff156..ee20a380 100644

/*
* Predefined entities override any extra definition
@@ -9349,7 +9349,7 @@ next_attr:
@@ -9357,7 +9357,7 @@ next_attr:
if (defaults != NULL) {
for (i = 0; i < defaults->nbAttrs; i++) {
xmlDefAttr *attr = &defaults->attrs[i];
Expand All @@ -20,24 +20,6 @@ index 1a0ff156..ee20a380 100644
unsigned hashValue, uriHashValue;
int res;

diff --git a/xmlIO.c b/xmlIO.c
index 640d909c..02506207 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -2903,11 +2903,13 @@ xmlParserGetDirectory(const char *filename) {
if (cur == dir) dir[1] = 0;
else *cur = 0;
ret = xmlMemStrdup(dir);
+#if !defined(WINAPI_FAMILY_PARTITION) || !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) || WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
} else {
if (getcwd(dir, 1024) != NULL) {
dir[1023] = 0;
ret = xmlMemStrdup(dir);
}
+#endif
}
return(ret);
#undef IS_XMLPGD_SEP
diff --git a/xmlmodule.c b/xmlmodule.c
index dd2fd7a5..a80bac1f 100644
--- a/xmlmodule.c
Expand Down
10 changes: 5 additions & 5 deletions SMP/libxml/xmlversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,36 @@
*
* the version string like "1.2.3"
*/
#define LIBXML_DOTTED_VERSION "2.13.2"
#define LIBXML_DOTTED_VERSION "2.13.3"

/**
* LIBXML_VERSION:
*
* the version number: 1.2.3 value is 10203
*/
#define LIBXML_VERSION 20132
#define LIBXML_VERSION 20133

/**
* LIBXML_VERSION_STRING:
*
* the version number string, 1.2.3 value is "10203"
*/
#define LIBXML_VERSION_STRING "20132"
#define LIBXML_VERSION_STRING "20133"

/**
* LIBXML_VERSION_EXTRA:
*
* extra version information, used to show a git commit description
*/
#define LIBXML_VERSION_EXTRA "-GITv2.13.2"
#define LIBXML_VERSION_EXTRA "-GITv2.13.3"

/**
* LIBXML_TEST_VERSION:
*
* Macro to check that the libxml version in use is compatible with
* the version the software has been compiled against
*/
#define LIBXML_TEST_VERSION xmlCheckVersion(20132);
#define LIBXML_TEST_VERSION xmlCheckVersion(20133);

/**
* LIBXML_THREAD_ENABLED:
Expand Down
4 changes: 2 additions & 2 deletions SMP/rcVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

#define LIBXML_MAJOR_VERSION 2
#define LIBXML_MINOR_VERSION 13
#define LIBXML_MICRO_VERSION 2
#define LIBXML_DOTTED_VERSION "2.13.2"
#define LIBXML_MICRO_VERSION 3
#define LIBXML_DOTTED_VERSION "2.13.3"

0 comments on commit f2f90ca

Please sign in to comment.