1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

xmllint: Make --nocatalogs actually work

This commit is contained in:
Nick Wellnhofer
2025-04-19 00:34:23 +02:00
parent ffc0bba93e
commit 2d8b6df28a

View File

@@ -2915,6 +2915,7 @@ xmllintParseOptions(xmllintState *lint, int argc, const char **argv) {
} else if ((!strcmp(argv[i], "-nocatalogs")) ||
(!strcmp(argv[i], "--nocatalogs"))) {
lint->nocatalogs = 1;
lint->options |= XML_PARSE_NO_SYS_CATALOG;
#endif
} else if ((!strcmp(argv[i], "-noblanks")) ||
(!strcmp(argv[i], "--noblanks"))) {