Bobber Cheng wrote:[...]
Well, that renders the check, whether the file was already opened, useless, in which case we should just:
rc = apr_file_open(...)
no matter what. I've now posted a question to the apr list asking how to verify whether finfo contains a valid filehandle or not. Depending on their answer we will either adjust the check to do the right thing, or unconditionally open that file.
Thanks for the debug, Bobber, I'll keep you posted as I'll have more information to tell.
I've talked to Bill Rowe at ApacheCon and he said that at the moment there is no reliable way to accomplish the check whether filehand is valid or not. So I just went and changed it to always open the file to be slurped, as in the patch that you have tested. It's now committed. Please verify with the latest cvs version. Thanks.
__________________________________________________________________ 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]