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 [EMAIL PROTECTED]>{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/Error.pm, which defines '==' as:

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

Trying to figure out what is going wrong.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to