Re: [perl #29581] glob() misses a lot of matches
LAUN Wolfgang [Mon, 17 May 2004 07:38:19 +0000 (09:38 +0200)]
Message-ID: <DF27CDCBD2581D4B88431901094E4B4D02B0C71E@attmsx1.aut.alcatel.at>

p4raw-id: //depot/perl@22823

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