Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit b65670a

Browse files
authored
Merge pull request #78 from livecode/develop-8.1
Merge develop-8.1 into develop
2 parents cedd674 + 3c25cba commit b65670a

5 files changed

Lines changed: 9 additions & 5 deletions

File tree

libjpeg/libjpeg.gyp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
'include/jmorecfg.h',
3535
'include/jpeglib.h',
3636

37-
'src/jchuff.h',
3837
'src/jdct.h',
39-
'src/jdhuff.h',
4038
'src/jinclude.h',
4139
'src/jmemsys.h',
4240
'src/jpegint.h',

libpcre/libpcre.gyp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767

6868
'direct_dependent_settings':
6969
{
70+
'defines':
71+
[
72+
'PCRE_STATIC=1',
73+
],
7074
'include_dirs':
7175
[
7276
'include',

libpng/libpng.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
'include/pngdebug.h',
4040
'include/pnginfo.h',
4141
'include/pnglibconf.h',
42-
'include/pngpriv.h',
4342
'include/pngstruct.h',
4443

44+
'src/pngpriv.h',
4545
'src/png.c',
4646
'src/pngerror.c',
4747
'src/pngget.c',

libxml/src/relaxng.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2088,6 +2088,7 @@ xmlRelaxNGGetErrorString(xmlRelaxNGValidErr err, const xmlChar * arg1,
20882088
const xmlChar * arg2)
20892089
{
20902090
char msg[1000];
2091+
xmlChar *result = NULL;
20912092

20922093
if (arg1 == NULL)
20932094
arg1 = BAD_CAST "";
@@ -2215,7 +2216,7 @@ xmlRelaxNGGetErrorString(xmlRelaxNGValidErr err, const xmlChar * arg1,
22152216
snprintf(msg, 1000, "Unknown error code %d\n", err);
22162217
}
22172218
msg[1000 - 1] = 0;
2218-
xmlChar *result = xmlCharStrdup(msg);
2219+
result = xmlCharStrdup(msg);
22192220
return (xmlEscapeFormatString(&result));
22202221
}
22212222

libxml/src/xmlschemas.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3121,6 +3121,7 @@ xmlSchemaPSimpleTypeErr(xmlSchemaParserCtxtPtr ctxt,
31213121
const xmlChar *str2)
31223122
{
31233123
xmlChar *msg = NULL;
3124+
xmlChar *expectedEscaped = NULL;
31243125

31253126
xmlSchemaFormatNodeForError(&msg, ACTXT_CAST ctxt, node);
31263127
if (message == NULL) {
@@ -3169,7 +3170,7 @@ xmlSchemaPSimpleTypeErr(xmlSchemaParserCtxtPtr ctxt,
31693170
}
31703171
if (expected) {
31713172
msg = xmlStrcat(msg, BAD_CAST " Expected is '");
3172-
xmlChar *expectedEscaped = xmlCharStrdup(expected);
3173+
expectedEscaped = xmlCharStrdup(expected);
31733174
msg = xmlStrcat(msg, xmlEscapeFormatString(&expectedEscaped));
31743175
FREE_AND_NULL(expectedEscaped);
31753176
msg = xmlStrcat(msg, BAD_CAST "'.\n");

0 commit comments

Comments
 (0)