perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: ACL filesystem incompatibility and potential race condition
Date Fri, 04 Mar 2005 00:28:15 GMT
Damon Buckwalter wrote:
> The patch works nicely, but every error code returns FORBIDDEN still. 
> I have a tweaked version attached that I think works better.

looks good, but the overloading should work. see below.

>>sure, let's give them best info we can. with the patch above you will get
>>the exact rc.
> I had to dig into $@->{rc} to get the exact return code.  $@ ==
> APR::EACCES seemed to always evaluate true, even though the error log
> showed different error codes for file not found versus permission
> denied:

Hmm, for some reason overloading doesn't work. Take a look at
APR/, which defines '==' as:

   sub num { $_[0]->{rc} }

Trying to figure out what is going wrong.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message