expat: update to 2.5.0

This commit is contained in:
Tom G. Christensen
2023-01-15 13:13:48 +01:00
parent d564fe47cf
commit d84ef928f2
3 changed files with 14 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
--- expat-2.4.8/xmlwf/xmltchar.h.strtof 2022-03-28 16:51:41.000000000 +0000
+++ expat-2.4.8/xmlwf/xmltchar.h 2022-04-10 15:29:32.600005000 +0000
--- expat-2.5.0/xmlwf/xmltchar.h.strtof 2022-10-24 18:32:57.000000000 +0000
+++ expat-2.5.0/xmlwf/xmltchar.h 2023-01-15 13:10:45.819376000 +0000
@@ -74,6 +74,6 @@
# define tmain main
# define tremove remove
@@ -8,18 +8,18 @@
+# define tcstof strtod
# define tcstoull strtoull
#endif /* not XML_UNICODE */
--- expat-2.4.8/tests/runtests.c.strtof 2022-04-10 15:26:11.240002000 +0000
+++ expat-2.4.8/tests/runtests.c 2022-04-10 15:30:05.040002000 +0000
@@ -11765,12 +11765,12 @@
--- expat-2.5.0/tests/runtests.c.strtof 2023-01-15 13:09:44.309378000 +0000
+++ expat-2.5.0/tests/runtests.c 2023-01-15 13:10:18.989378000 +0000
@@ -12002,12 +12002,12 @@
static float
portableNAN() {
portableNAN(void) {
- return strtof("nan", NULL);
+ return strtod("nan", NULL);
}
static float
portableINFINITY() {
portableINFINITY(void) {
- return strtof("infinity", NULL);
+ return strtod("infinity", NULL);
}