New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glob() misses a lot of matches #7291
Comments
From marek.rouchal@gmx.netCreated by marek.rouchal@gmx.netIn a somewhat complex file structure, Perl's glob() fails to find a lot ######## ######## /opt/lic/share/license/site/cadadm/mentor_8.2/mentor_8.2_lic ######## $ ls -la /opt/lic/share/license/site/cadadm/synopsys/ Perl Info
|
From wolfgang.laun@alcatel.atMarek Rouchal wrote on 14 May 2004 12:42:22:
Marek: The "note:..." has been a good hint. If you check the permissions of
If some directory cannot be opened due to permission denied, To get a behaviour that is identical to the shell, EACCES must be Kind regards Inline Patch--- ext/File/Glob/Glob.xs~ Fri Aug 23 00:59:49 2002
+++ ext/File/Glob/Glob.xs Sun May 16 08:47:01 2004
@@ -21,7 +21,7 @@
#else
int
errfunc(const char *foo, int bar) {
- return !(bar == ENOENT || bar == ENOTDIR);
+ return !(bar == EACCES || bar == ENOENT || bar == ENOTDIR);
}
#endif
|
The RT System itself - Status changed from 'new' to 'open' |
From @rgsLAUN Wolfgang wrote:
Thanks, applied as change #22823 to bleadperl.
|
@rgs - Status changed from 'open' to 'resolved' |
From marek.rouchal@gmx.netWow - that exactly does the right job! Thanks a lot, Marek
|
Migrated from rt.perl.org#29581 (status was 'resolved')
Searchable as RT29581$
The text was updated successfully, but these errors were encountered: