- Fix so that for a configuration line of include: "*.conf" it is not

an error if there are no files matching the glob pattern.


git-svn-id: file:///svn/unbound/trunk@2883 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2013-04-15 07:57:08 +00:00
parent d88911eed5
commit 2be3e34658
3 changed files with 187 additions and 182 deletions

View file

@ -1,3 +1,7 @@
15 April 2013: Wouter
- Fix so that for a configuration line of include: "*.conf" it is not
an error if there are no files matching the glob pattern.
11 April 2013: Wouter
- Fix queries leaking up for stubs and forwards, if the configured
nameservers all fail to answer.

File diff suppressed because it is too large Load diff

View file

@ -107,6 +107,8 @@ static void config_start_include_glob(const char* filename)
if(r) {
/* some error */
globfree(&g);
if(r == GLOB_NOMATCH)
return; /* no matches for pattern */
config_start_include(filename); /* let original deal with it */
return;
}