summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/htdig/files/htdig-3.1.6-unescaped-output.diff')
-rw-r--r--www-misc/htdig/files/htdig-3.1.6-unescaped-output.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/www-misc/htdig/files/htdig-3.1.6-unescaped-output.diff b/www-misc/htdig/files/htdig-3.1.6-unescaped-output.diff
new file mode 100644
index 000000000000..5a041f11f8a1
--- /dev/null
+++ b/www-misc/htdig/files/htdig-3.1.6-unescaped-output.diff
@@ -0,0 +1,17 @@
+diff -urN htdig-3.1.6.orig/htsearch/htsearch.cc htdig-3.1.6/htsearch/htsearch.cc
+--- htdig-3.1.6.orig/htsearch/htsearch.cc 2005-02-10 10:44:13.593198276 -0500
++++ htdig-3.1.6/htsearch/htsearch.cc 2005-02-10 10:46:15.391055719 -0500
+@@ -143,11 +143,8 @@
+ configFile << '/' << input["config"] << ".conf";
+ }
+ if (access(configFile, R_OK) < 0)
+- {
+- if (filenameok) filenamemsg << " '" << configFile.get() << "'";
+- reportError(form("Unable to read configuration file%s",
+- filenamemsg.get()));
+- }
++ reportError("Unable to read configuration file.");
++
+ config.Read(configFile);
+
+ if (input.exists("method"))