Changeset: 231393be02de for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/231393be02de
Modified Files:
monetdb5/modules/atoms/xml.c
Branch: resource_management
Log Message:
fix compilation
diffs (25 lines):
diff --git a/monetdb5/modules/atoms/xml.c b/monetdb5/modules/atoms/xml.c
--- a/monetdb5/modules/atoms/xml.c
+++ b/monetdb5/modules/atoms/xml.c
@@ -660,20 +660,18 @@ XMLepilogue(Client ctx, void *ret)
}
static ssize_t
-XMLfromString(const char *src, size_t *len, void **X, bool external)
+XMLfromString(allocator *ma, const char *src, size_t *len, void **X, bool
external)
{
xml *x = (xml *) X;
if (*x) {
*x = NULL;
}
if (external && strcmp(src, "nil") == 0) {
- allocator *ma = MT_thread_getallocator();
*x = MA_STRDUP(ma, str_nil);
if (*x == NULL)
return -1;
return 3;
} else if (strNil(src)) {
- allocator *ma = MT_thread_getallocator();
*x = MA_STRDUP(ma, str_nil);
if (*x == NULL)
return -1;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]