|
|
Choosing A Webhost: |
Re: updating r->finfo on $r->filename($newfile): msg#00366apache.mod-perl.devel
Geoffrey Young wrote:
Of course. I didn't say not. You just won't be able to use perl's API for that, but instead using APR API, so instead of saying: -r $r->finfo && -w _ ; users will have to say: $r->finfo->perms eq 'r' && $r->finfo->perms eq 'w' or whatever the accessor API is (will be). The stat struct is cached but on the apache side. or are we just not taking about the same thing here? Yup, we are talking about the same thing. I just thought that you said you will try to provide the mapping (i.e. provide a function which will convert apr_finfo_t to finfo). Before putting much thought to it, since we are so eager to provide 1:1 mapping of the C API, we should just provide the perl glue to the functions in the APR API plus accessors to those elements that have no functions. Neither I have looked, I hoped that finfo will somehow magically work in the future ;) I guess I'm having a fairly unclear day :) foggy ;) I can see both sides. given the current options, I think IO makes more sense than the others, but I really don't care. or if you think a new designation is deserved that's fine too, though I don't know what else would go there. cool++ -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: updating r->finfo on $r->filename($newfile), Geoffrey Young |
|---|---|
| Next by Date: | Re: early perl startup in vhost on win32, Stas Bekman |
| Previous by Thread: | Re: updating r->finfo on $r->filename($newfile), Geoffrey Young |
| Next by Thread: | Re: updating r->finfo on $r->filename($newfile), Geoffrey Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |