This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [perl #29581] glob() misses a lot of matches
[perl5.git] / ext / File / Glob / Glob.xs
index bc58b6a..40a0fbc 100644 (file)
@@ -21,7 +21,7 @@ START_MY_CXT
 #else
 int
 errfunc(const char *foo, int bar) {
-  return !(bar == ENOENT || bar == ENOTDIR);
+  return !(bar == EACCES || bar == ENOENT || bar == ENOTDIR);
 }
 #endif