While we are on the IO issue, any ideas how can we transform Perl file 
glob into apr_file_t? apr_file_t is an opaque struct and currently I see 
no way to convert to apr_file_t other than its apr_file_open function 
which requires the filepath to be opened, so you cannot dup the opened 
fh like we do when converting apr_file_t to IO for 5.6.1.

I've looked at the implementation of ap_send_fd and it use 
apr_bucket_file_create which also wants apr_file_t arg.

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


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

Reply via email to