From: pravus@cpan.org Date: Fri, 21 Dec 2007 10:05:15 +0000 (-0800) Subject: [perl #49003] pp_ftrread appears to use the wrong access mode for -x when using ... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b376053de54af4268a31e5a60d1f9e57db30af11;p=p5sagit%2Fp5-mst-13.2.git [perl #49003] pp_ftrread appears to use the wrong access mode for -x when using "use filetest 'access';" From: pravus@cpan.org (via RT) Message-ID: p4raw-id: //depot/perl@32874 --- diff --git a/pp_sys.c b/pp_sys.c index 66ca0fb..da07e46 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -2999,10 +2999,9 @@ PP(pp_ftrread) effective = TRUE; break; - case OP_FTEEXEC: #ifdef PERL_EFF_ACCESS - access_mode = W_OK; + access_mode = X_OK; #else use_access = 0; #endif