diff options
author | William M. Brack <wbrack@src.gnome.org> | 2005-02-11 10:58:55 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2005-02-11 10:58:55 +0000 |
commit | 4e1c2db89ed0f49567682e1498ce19bd2bfa7e4f (patch) | |
tree | 05c6e8114a4b0b64a7e22fe60db68b02ae554f94 /xmllint.c | |
parent | b6b36d37f2fa2955cbd980e160f02bc5ae7e505f (diff) | |
download | libxml2-4e1c2db89ed0f49567682e1498ce19bd2bfa7e4f.tar.gz |
fixed compilation warning changed xmlWarningMsg so ctxt->errNo is not set
* dict.c: fixed compilation warning
* parser.c: changed xmlWarningMsg so ctxt->errNo is not set
* xmllint.c: changed to return non-zero status if error
on xinclude processing
* xmlsave.c: minor deletion of a redundant condition statement
Diffstat (limited to 'xmllint.c')
-rw-r--r-- | xmllint.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1341,7 +1341,8 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) { if ((timing) && (!repeat)) { startTimer(); } - xmlXIncludeProcessFlags(doc, options); + if (xmlXIncludeProcessFlags(doc, options) < 0) + progresult = XMLLINT_ERR_UNCLASS; if ((timing) && (!repeat)) { endTimer("Xinclude processing"); } |