mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-28 00:21:53 +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:
@ -69,7 +69,7 @@ scope int html##name##Push(htmlParserCtxtPtr ctxt, type value) { \
|
||||
ctxt->name##Max * sizeof(ctxt->name##Tab[0])); \
|
||||
if (ctxt->name##Tab == NULL) { \
|
||||
fprintf(stderr, "realloc failed !\n"); \
|
||||
exit(1); \
|
||||
return(0); \
|
||||
} \
|
||||
} \
|
||||
ctxt->name##Tab[ctxt->name##Nr] = value; \
|
||||
@ -854,7 +854,7 @@ htmlEntityDesc html40EntitiesTable[] = {
|
||||
buffer = (xmlChar *) xmlRealloc(buffer, buffer##_size * sizeof(xmlChar)); \
|
||||
if (buffer == NULL) { \
|
||||
perror("realloc failed"); \
|
||||
exit(1); \
|
||||
return(NULL); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user