> Much better, but still why having any data at all in mod_perl.c? Have > the static variable in modperl_apache.c and provide an accessor to do: > > hook_order = apr_table_make(p, 0); > > from modperl_apache.c. Now you are all set.
well, I can't see where to draw the pool from or how else to inialize it. that is, unless I just make the declaration static *hook_order = apr_table_make(modperl_global_get_pconf(), 0); > > Also, this: > >> +/* PerlHook*Handler support */ >> +apr_table_t *hook_order; > > > needs to be 'static'. Otherwise that symbol ends up in the final > library. (again, please refer to Ulrich Drepper's paper: How to Write > Shared Libraries http://people.redhat.com/drepper/ukuug2002slides.pdf) k, thanks. --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
