mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
fixed xmlIOParseDTD handling of @input in error case, Should fix #335085
* parser.c: fixed xmlIOParseDTD handling of @input in error case, Should fix #335085 * testapi.c: reset the http_proxy env variable to not waste time on regression tests Daniel
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include <stdlib.h> /* for putenv() */
|
||||
#include <string.h>
|
||||
#include <libxml/xmlerror.h>
|
||||
#include <libxml/relaxng.h>
|
||||
@@ -126,6 +127,9 @@ int main(int argc, char **argv) {
|
||||
int ret;
|
||||
int blocks, mem;
|
||||
|
||||
/* access to the proxy can slow up regression tests a lot */
|
||||
putenv("http_proxy=");
|
||||
|
||||
memset(chartab, 0, sizeof(chartab));
|
||||
strncpy((char *) chartab, " chartab\n", 20);
|
||||
memset(inttab, 0, sizeof(inttab));
|
||||
|
Reference in New Issue
Block a user