projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
exclude.c
diff --git
a/lib/exclude.c
b/lib/exclude.c
index
e44145c
..
35f9f0d
100644
(file)
--- a/
lib/exclude.c
+++ b/
lib/exclude.c
@@
-57,6
+57,7
@@
extern int errno;
#include "exclude.h"
#include "fnmatch.h"
#include "exclude.h"
#include "fnmatch.h"
+#include "unlocked-io.h"
#include "xalloc.h"
#ifndef SIZE_MAX
#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)
/* 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;
else
{
struct patopts const *exclude = ex->exclude;