mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
save: Fix handling of catastrophic errors
Don't overwrite catastrophic errors xmlSaveErr. Overwrite non-catastrophic errors in xmlOutputBufferClose.
This commit is contained in:
@@ -68,8 +68,6 @@ xmlWarningMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,
|
||||
XML_HIDDEN void
|
||||
xmlCtxtErrIO(xmlParserCtxtPtr ctxt, int code, const char *uri);
|
||||
XML_HIDDEN int
|
||||
xmlIsCatastrophicError(int level, int code);
|
||||
XML_HIDDEN int
|
||||
xmlCtxtIsCatastrophicError(xmlParserCtxtPtr ctxt);
|
||||
|
||||
XML_HIDDEN void
|
||||
|
||||
Reference in New Issue
Block a user