mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2024-11-30 15:40:40 +00:00
applied patch from Richard Jones to for the silent flag on valgrind when
* xstc/Makefile.am doc/examples/Makefile.am Makefile.am: applied patch from Richard Jones to for the silent flag on valgrind when doing "make valgrind" * xmlregexp.c: raise a regexp error when '\' is misused to escape a standard character. Daniel svn path=/trunk/; revision=3606
This commit is contained in:
parent
c9923324e9
commit
cb4284e296
@ -1,3 +1,11 @@
|
||||
Wed Apr 25 15:57:32 CEST 2007 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xstc/Makefile.am doc/examples/Makefile.am Makefile.am: applied
|
||||
patch from Richard Jones to for the silent flag on valgrind
|
||||
when doing "make valgrind"
|
||||
* xmlregexp.c: raise a regexp error when '\' is misused to escape
|
||||
a standard character.
|
||||
|
||||
Tue Apr 24 20:15:14 CEST 2007 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* tree.c: Richard Jones reported xmlBufferAdd (buf, "", -1), fixing it
|
||||
|
@ -167,7 +167,7 @@ tests: XMLtests XMLenttests NStests IDtests Errtests APItests @READER_TEST@ @TES
|
||||
valgrind:
|
||||
@echo '## Running the regression tests under Valgrind'
|
||||
@echo '## Go get a cup of coffee it is gonna take a while ...'
|
||||
$(MAKE) CHECKER='valgrind' tests
|
||||
$(MAKE) CHECKER='valgrind -q' tests
|
||||
|
||||
APItests: testapi$(EXEEXT)
|
||||
@echo "## Running the API regression tests this may take a little while"
|
||||
|
@ -96,7 +96,7 @@ xpath2_DEPENDENCIES= $(DEPS)
|
||||
xpath2_LDADD= @RDL_LIBS@ $(LDADDS)
|
||||
|
||||
valgrind:
|
||||
$(MAKE) CHECKER='valgrind' tests
|
||||
$(MAKE) CHECKER='valgrind -q' tests
|
||||
|
||||
tests: $(noinst_PROGRAMS)
|
||||
@(echo '## examples regression tests')
|
||||
|
@ -4751,6 +4751,8 @@ xmlFAParseCharClassEsc(xmlRegParserCtxtPtr ctxt) {
|
||||
xmlRegAtomAddRange(ctxt, ctxt->atom, ctxt->neg,
|
||||
type, 0, 0, NULL);
|
||||
}
|
||||
} else {
|
||||
ERROR("Wrong escape sequence, misuse of character '\\'");
|
||||
}
|
||||
}
|
||||
|
||||
@ -5307,6 +5309,10 @@ xmlRegexpCompile(const xmlChar *regexp) {
|
||||
if (CUR != 0) {
|
||||
ERROR("xmlFAParseRegExp: extra characters");
|
||||
}
|
||||
if (ctxt->error != 0) {
|
||||
xmlRegFreeParserCtxt(ctxt);
|
||||
return(NULL);
|
||||
}
|
||||
ctxt->end = ctxt->state;
|
||||
ctxt->start->type = XML_REGEXP_START_STATE;
|
||||
ctxt->end->type = XML_REGEXP_FINAL_STATE;
|
||||
|
@ -126,7 +126,7 @@ tests:
|
||||
valgrind:
|
||||
-@(if [ -x $(PYTHON) ] ; then \
|
||||
echo '## Running the regression tests under Valgrind' ; \
|
||||
$(MAKE) CHECKER='valgrind' MAKEFLAGS+=--silent pytests ; fi);
|
||||
$(MAKE) CHECKER='valgrind -q' MAKEFLAGS+=--silent pytests ; fi);
|
||||
|
||||
clean:
|
||||
rm -f $(PYSCRIPTS) test.log
|
||||
|
Loading…
Reference in New Issue
Block a user