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
pp_ftrread appears to use the wrong access mode for -x when using "use filetest 'access';" #9163
Comments
From pravus@cpan.orgThis is a bug report for perl from pravus@cpan.org, I have found that the '-x' test will fail even when I do have execute { print -x '/bin/cat' ? "YES" : "NO", "\n"; The first test fails but the second test succeeds (as expected). I Inline Patchdiff -urP perl-5.10.0-orig/pp_sys.c perl-5.10.0/pp_sys.c
--- perl-5.10.0-orig/pp_sys.c 2007-12-18 04:47:08.000000000 -0600
+++ perl-5.10.0/pp_sys.c 2007-12-21 11:32:29.000000000 -0600
@@ -3002,7 +3002,7 @@
case OP_FTEEXEC:
#ifdef PERL_EFF_ACCESS
- access_mode = W_OK;
+ access_mode = X_OK;
#else
use_access = 0;
#endif
-- jason hord Flags: Site configuration information for perl 5.10.0: Configured by jhord at Tue Dec 18 13:12:38 CST 2007. Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Locally applied patches: @INC for perl 5.10.0: Environment for perl 5.10.0: |
From @rgsOn 21/12/2007, via RT pravus @ cpan. org <perlbug-followup@perl.org> wrote:
Thanks, applied as change #32874. |
The RT System itself - Status changed from 'new' to 'open' |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#49003 (status was 'resolved')
Searchable as RT49003$
The text was updated successfully, but these errors were encountered: