X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fexclude.c;h=35f9f0d194d80797db08d904ea47c913b027f6cf;hb=8b687a1afe82bd2e5900a51c4340039884d4ba3c;hp=e44145c8a83df8ae98cd3de0d50366b9f6d40a0e;hpb=a601ff2f829c723a7d0b8e4984052533f9cff5f3;p=gnulib.git diff --git a/lib/exclude.c b/lib/exclude.c index e44145c8a..35f9f0d19 100644 --- a/lib/exclude.c +++ b/lib/exclude.c @@ -57,6 +57,7 @@ extern int errno; #include "exclude.h" #include "fnmatch.h" +#include "unlocked-io.h" #include "xalloc.h" #ifndef SIZE_MAX @@ -147,7 +148,7 @@ excluded_filename (struct exclude const *ex, char const *f) /* If no options are given, the default is to include. */ if (exclude_count == 0) - return 0; + return false; else { struct patopts const *exclude = ex->exclude;