summaryrefslogtreecommitdiffstats
path: root/unbound-1.2-glob.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-07-16 09:53:59 +0200
committerRemi Collet <fedora@famillecollet.com>2011-07-16 09:53:59 +0200
commitbdd063cb05fcb535347e7ae2839db68c8b8ac216 (patch)
tree2932647e2fcbdc98196dba1923cbfe23d58a17f2 /unbound-1.2-glob.patch
import unbound 1.4.11 from rawhide
Diffstat (limited to 'unbound-1.2-glob.patch')
-rw-r--r--unbound-1.2-glob.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/unbound-1.2-glob.patch b/unbound-1.2-glob.patch
new file mode 100644
index 0000000..996ceac
--- /dev/null
+++ b/unbound-1.2-glob.patch
@@ -0,0 +1,13 @@
+diff -Naur unbound-1.2.0/validator/val_anchor.c unbound-1.2.0.new/validator/val_anchor.c
+--- unbound-1.2.0/validator/val_anchor.c 2009-01-07 07:24:34.000000000 -0500
++++ unbound-1.2.0.new/validator/val_anchor.c 2009-01-20 17:31:43.000000000 -0500
+@@ -718,7 +718,8 @@
+ log_err("wildcard trusted-keys-file %s: expansion "
+ "failed (%s)", pat, strerror(errno));
+ }
+- return 0;
++ /* ignore globs that yield no files */
++ return 1;
+ }
+ /* process files found, if any */
+ for(i=0; i<(size_t)g.gl_pathc; i++) {