mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Oops, it seems I forgot to commit 1.8.4 changes
- restored xmlNewGlobalNs since this seems used - fixed a problem with INCLUDE_WINSOCK - removed all calls to exit() from the library code. - removed bugs detected by Windows compilers - started adding interfaces for parsing well balanced XML fragments - releasing 1.8.4 - rebuilt the docs Daniel
This commit is contained in:
7
xpath.c
7
xpath.c
@ -186,7 +186,7 @@ extern int name##Push(xmlXPathParserContextPtr ctxt, type value) { \
|
||||
ctxt->name##Max * sizeof(ctxt->name##Tab[0])); \
|
||||
if (ctxt->name##Tab == NULL) { \
|
||||
fprintf(xmlXPathDebug, "realloc failed !\n"); \
|
||||
exit(1); \
|
||||
return(0); \
|
||||
} \
|
||||
} \
|
||||
ctxt->name##Tab[ctxt->name##Nr] = value; \
|
||||
@ -1218,11 +1218,6 @@ xmlXPathEqualValues(xmlXPathParserContextPtr ctxt) {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
#ifdef DEBUG_EXPR
|
||||
fprintf(xmlXPathDebug, "Equal: %s string %s \n",
|
||||
arg1->stringval, arg2->stringval);
|
||||
#endif
|
||||
ret = !xmlStrcmp(arg1->stringval, arg2->stringval);
|
||||
}
|
||||
xmlXPathFreeObject(arg1);
|
||||
xmlXPathFreeObject(arg2);
|
||||
|
Reference in New Issue
Block a user