From 2d8b6df28a27c3f62455ff9017142b954fe93487 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 19 Apr 2025 00:34:23 +0200 Subject: [PATCH] xmllint: Make --nocatalogs actually work --- xmllint.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xmllint.c b/xmllint.c index 90af76126..80ddc4a3e 100644 --- a/xmllint.c +++ b/xmllint.c @@ -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"))) {