> > > hehe... poor example. I use apr_get/set_filedata() :-) > > > > > > We've gone this far without the accessor functions. Adding > > > apr_mmap_from_file would obviate the need. > > > > Which doesn't solve the problem. How did you allocate the data? If you > > used a pool, you have to be careful of which one you used. If you don't > > get it from the file itself, then you have to pass the pool along with the > > file. > > > > It isn't a question of calling apr_set_userdata. It is a question of > > which pool was used to allocate the userdata. > > Sure sure :-) > > But back to the point: the problem at hand is to construct an mmap from a > file. We have a simple alternative for that.
No, that isn't the problem. The problem at hand is to get access to the pool within an APR type. An example is to be able to create an mmap from a file. Ryan _______________________________________________________________________________ Ryan Bloom [EMAIL PROTECTED] 406 29th St. San Francisco, CA 94131 -------------------------------------------------------------------------------
