unbound/unbound-1.2-glob.patch
Paul Wouters b51bd8aa76 - Added missing glob patch to cvs
- Place python macros within the %with_python check
2009-06-21 04:23:10 +00:00

14 lines
519 B
Diff

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++) {